aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes')
-rw-r--r--admin/themes/default/template/cat_modify.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl
index af1fb5792..013cf9553 100644
--- a/admin/themes/default/template/cat_modify.tpl
+++ b/admin/themes/default/template/cat_modify.tpl
@@ -43,9 +43,11 @@ jQuery(document).ready(function() {
success:function(data) {
var data = jQuery.parseJSON(data);
if (data.stat == 'ok') {
- jQuery(".albumThumbnailImage").attr('href', data.result.url);
- jQuery(".albumThumbnailImage img").attr('src', data.result.src);
- jQuery(".albumThumbnailImage").show();
+ jQuery(".albumThumbnailImage")
+ .attr('href', data.result.url)
+ .find("img").attr('src', data.result.src)
+ .end().show();
+
jQuery(".albumThumbnailRandom").hide();
}
else {