From 9dff468f6a01c7bfa4125ff2e929153482d62b56 Mon Sep 17 00:00:00 2001 From: zuber Date: Thu, 27 Aug 2009 13:22:58 +0200 Subject: [PATCH] Poprawki stylu w panelu gallery.html. --- project/templates/explorer/panels/gallery.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/project/templates/explorer/panels/gallery.html b/project/templates/explorer/panels/gallery.html index 987875aa..bf753d05 100644 --- a/project/templates/explorer/panels/gallery.html +++ b/project/templates/explorer/panels/gallery.html @@ -15,12 +15,12 @@ panel_hooks = { load: function() { var contentDiv = this.contentDiv; - $('.id_folders', contentDiv).change(function() - { - $('.images', contentDiv).load('{% url folder_image_ajax %}' + $('.id_folders', contentDiv).val() + '/', - function() { + $('.id_folders', contentDiv).change(function() { + $('.images', contentDiv).fadeOut('slow', function() { + $(this).html('').load('{% url folder_image_ajax %}' + $('.id_folders', contentDiv).val() + '/', function() { $('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000); }); + }) }); $('.images-wrap', contentDiv).lazyload('.image-box', -- 2.20.1