the resources_selected plugin always starts up toggled off, then any action (adding...
[myslice.git] / plugins / resources_selected / static / js / resources_selected.js
index 175fef4..a784288 100644 (file)
             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: