From: zuber Date: Thu, 27 Aug 2009 11:23:15 +0000 (+0200) Subject: Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/d8e0011bca1bdc8bcfd10ce75a33372bfad0941d?hp=b9e5161a49d56f4bc177159c93d0f027e5ba4337 Merge branch 'master' of git@stigma.nowoczesnapolska.org.pl:platforma --- diff --git a/project/templates/explorer/panels/gallery.html b/project/templates/explorer/panels/gallery.html index f0ec99bf..4f5ea910 100644 --- a/project/templates/explorer/panels/gallery.html +++ b/project/templates/explorer/panels/gallery.html @@ -13,12 +13,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',