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
Scheduler: adding/removing resources enforce warnings and recount number of unconfigu...
[unfold.git]
/
plugins
/
filter_status
/
static
/
js
/
filter_status.js
diff --git
a/plugins/filter_status/static/js/filter_status.js
b/plugins/filter_status/static/js/filter_status.js
index
9c1c244
..
324634c
100644
(file)
--- a/
plugins/filter_status/static/js/filter_status.js
+++ b/
plugins/filter_status/static/js/filter_status.js
@@
-28,6
+28,7
@@
/* Setup query and record handlers */
this.listen_query(options.query_uuid);
/* Setup query and record handlers */
this.listen_query(options.query_uuid);
+ this.listen_query(options.query_lease_uuid, 'leases');
/* Setup click handlers */
this.elts('list-group-item').click({'instance': this}, this._on_click);
/* Setup click handlers */
this.elts('list-group-item').click({'instance': this}, this._on_click);
@@
-66,6
+67,11
@@
// XXX
},
// XXX
},
+ on_leases_field_state_changed: function(data)
+ {
+ console.log('leases_field_state_changed');
+ this.on_field_state_changed(data);
+ },
on_field_state_changed: function(data)
{
var query_ext;
on_field_state_changed: function(data)
{
var query_ext;