ResourcesSelected Plugin working with URNs - http://trac.myslice.info/ticket/36
[myslice.git] / plugins / resources_selected / static / js / resources_selected.js
index d64d717..9a06447 100644 (file)
         // - Key and confirmation could be sufficient, or key and record state
         // XXX move record state to the manifold plugin API
 
-        on_field_state_changed: function(request, key, value, status)
+        on_field_state_changed: function(result)
         {
-            this.set_state(request, key, value, status);
+            console.log(result)
+            /* this.set_state(result.request, result.key, result.value, result.status); */
+            this.set_state(result);
         },
 
         // XXX we will have the requests for change