framework now supports displaying the results of queries
[myslice.git] / plugins / resources_selected / static / js / resources_selected.js
index 5659670..524bf62 100644 (file)
             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) {