git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the resources_selected plugin always starts up toggled off, then any action (adding...
[myslice.git]
/
plugins
/
resources_selected
/
static
/
js
/
resources_selected.js
diff --git
a/plugins/resources_selected/static/js/resources_selected.js
b/plugins/resources_selected/static/js/resources_selected.js
index
175fef4
..
a784288
100644
(file)
--- a/
plugins/resources_selected/static/js/resources_selected.js
+++ b/
plugins/resources_selected/static/js/resources_selected.js
@@
-120,7
+120,12
@@
var button = '';
var row;
var button = '';
var row;
-
+
+ // make sure the change is visible : toggle on the whole plugin
+ // this might hae to be made an 'auto-toggle' option of this plugin..
+ // also it might be needed to be a little finer-grained here
+ this.toggle_on();
+
switch(data.request) {
case FIELD_REQUEST_ADD_RESET:
case FIELD_REQUEST_REMOVE_RESET:
switch(data.request) {
case FIELD_REQUEST_ADD_RESET:
case FIELD_REQUEST_REMOVE_RESET: