X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/654e7cf77f7241bfc866a4879829367d39179577..9dff468f6a01c7bfa4125ff2e929153482d62b56:/project/templates/explorer/panels/gallery.html diff --git a/project/templates/explorer/panels/gallery.html b/project/templates/explorer/panels/gallery.html index d339bce6..bf753d05 100644 --- a/project/templates/explorer/panels/gallery.html +++ b/project/templates/explorer/panels/gallery.html @@ -1,11 +1,12 @@
-
-
-

Aby zobaczyć obrazki wybierz folder poniżej:

-

-

+ +
+
+
@@ -14,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', panel).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',