fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e402762
)
Poprawki stylu w panelu gallery.html.
author
zuber
<marek@stepniowski.com>
Thu, 27 Aug 2009 11:22:58 +0000
(13:22 +0200)
committer
zuber
<marek@stepniowski.com>
Thu, 27 Aug 2009 11:22:58 +0000
(13:22 +0200)
project/templates/explorer/panels/gallery.html
patch
|
blob
|
history
diff --git
a/project/templates/explorer/panels/gallery.html
b/project/templates/explorer/panels/gallery.html
index
987875a
..
bf753d0
100644
(file)
--- 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;
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).data('lazyload:lastCheckedScrollTop', -10000);
});
+ })
});
$('.images-wrap', contentDiv).lazyload('.image-box',
});
$('.images-wrap', contentDiv).lazyload('.image-box',