summaryrefslogtreecommitdiff
path: root/design/templates/admin
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-12-04 12:18:57 -0500
committerluxagraf <sng@luxagraf.net>2020-12-04 12:18:57 -0500
commit7799aac07271e8a5f05fabd47993a9f64b42042e (patch)
tree0f1606277266a51c8ce36083a7ca71eec27e7a2d /design/templates/admin
parentb15ed72cac94a1b7feffd895f57223f296ebdbb2 (diff)
fixed some admin image bugs
Diffstat (limited to 'design/templates/admin')
-rw-r--r--design/templates/admin/photos/luxgallery/change_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/admin/photos/luxgallery/change_form.html b/design/templates/admin/photos/luxgallery/change_form.html
index 31c9914..1cdfde0 100644
--- a/design/templates/admin/photos/luxgallery/change_form.html
+++ b/design/templates/admin/photos/luxgallery/change_form.html
@@ -12,7 +12,7 @@ $(function(){
$('#id_images').css('width', '500px').css('height', '400px');
$('#id_images option').each(function(){
$(this).attr('style', 'background: url('+$(this).text().split("qq")[1]+') no-repeat; background-size: 120px 80px; height: 80px; padding-left: 125px; line-height: 80px; margin-bottom: 4px; padding-bottom: 5px;border-bottom: #eee 1px solid;');
- $(this).html($(this).text().split("qq")[0] + ' &ndash; <a href="/admin/photos/luximage/'+ $(this).text().split("qq")[2]+'/change/">edit</a>')
+ $(this).html($(this).text().split("qq")[0] + ' &ndash; <a href="/admin/media/luximage/'+ $(this).text().split("qq")[2]+'/change/">edit</a>')
});
});
</script>