git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ResourcesSelected Plugin working with URNs - http://trac.myslice.info/ticket/36
[unfold.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
d64d717
..
9a06447
100644
(file)
--- a/
plugins/resources_selected/static/js/resources_selected.js
+++ b/
plugins/resources_selected/static/js/resources_selected.js
@@
-314,9
+314,11
@@
// - Key and confirmation could be sufficient, or key and record state
// XXX move record state to the manifold plugin API
// - 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(re
quest, key, value, status
)
+ on_field_state_changed: function(re
sult
)
{
{
- 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
},
// XXX we will have the requests for change