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
framework now supports displaying the results of queries
[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
5659670
..
524bf62
100644
(file)
--- a/
plugins/resources_selected/static/js/resources_selected.js
+++ b/
plugins/resources_selected/static/js/resources_selected.js
@@
-123,6
+123,11
@@
if (data.request == FIELD_REQUEST_RESET) {
// find line
// delete it
+ row = this.find_row(data.value);
+ if (row) {
+ this.table.fnDeleteRow(row.nTr);
+ }
+ return;
}
switch(data.request) {