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:
6d8e985
)
Poprawienie odwoĊania do formularza zmiany galerii w /panels/gallery.html.
author
zuber
<marek@stepniowski.com>
Mon, 31 Aug 2009 13:45:36 +0000
(15:45 +0200)
committer
zuber
<marek@stepniowski.com>
Mon, 31 Aug 2009 13:45:36 +0000
(15:45 +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
a5ac559
..
af3a5cb
100644
(file)
--- a/
project/templates/explorer/panels/gallery.html
+++ b/
project/templates/explorer/panels/gallery.html
@@
-10,9
+10,10
@@
panel_hooks = {
load: function() {
var contentDiv = this.contentDiv;
panel_hooks = {
load: function() {
var contentDiv = this.contentDiv;
- $('.id_folders', contentDiv).change(function() {
+ $('select[name=folders]', contentDiv).change(function() {
+ var select = this;
$('.images', contentDiv).fadeOut('slow', function() {
$('.images', contentDiv).fadeOut('slow', function() {
- $(this).html('').load('{% url folder_image_ajax %}' + $(
'.id_folders', contentDiv
).val() + '/', function() {
+ $(this).html('').load('{% url folder_image_ajax %}' + $(
select
).val() + '/', function() {
$('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000);
});
})
$('.images-wrap', contentDiv).data('lazyload:lastCheckedScrollTop', -10000);
});
})