projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a861b23
)
Fix source selection javascript
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 20 Apr 2010 05:42:55 +0000
(23:42 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 20 Apr 2010 05:48:38 +0000
(23:48 -0600)
horde/js/sourceselect.js
patch
|
blob
|
history
diff --git
a/horde/js/sourceselect.js
b/horde/js/sourceselect.js
index
1f84523
..
1dc1d0f
100644
(file)
--- a/
horde/js/sourceselect.js
+++ b/
horde/js/sourceselect.js
@@
-22,11
+22,14
@@
var HordeSourceSelectPrefs = {
}
out.push([ s.source, s.selected ]);
});
- $('sources').setValue(out.toJSON());
}
} else {
- $('sources').setValue($F('selected_sources').toJSON());
+ $A($('selected_sources').options).slice(1).each(function(s) {
+ out.push(s.value);
+ });
}
+
+ $('sources').setValue(out.toJSON());
},
moveAction: function(from, to)