X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fhazelnut%2Fstatic%2Fjs%2Fhazelnut.js;h=dcd4e1ff9bb2e5f769c0e51f096d7deae4e1e45b;hb=7c9892a134c74fba4de425609e392a99c7de4d71;hp=bdb2de70e450b2ca72c812dd1dbf4082f678f49d;hpb=d384e4b10bf9ba67f610bef72cf0e5b2dd747baf;p=myslice.git diff --git a/plugins/hazelnut/static/js/hazelnut.js b/plugins/hazelnut/static/js/hazelnut.js index bdb2de70..dcd4e1ff 100644 --- a/plugins/hazelnut/static/js/hazelnut.js +++ b/plugins/hazelnut/static/js/hazelnut.js @@ -259,7 +259,8 @@ var checkbox_id = this.flat_id(this.id('checkbox', key_value)); - checkbox_id = '#' + checkbox_id; + // function escape_id(myid) is defined in portal/static/js/common.functions.js + checkbox_id = escape_id(checkbox_id); // using dataTables's $ to search also in nodes that are not currently displayed var element = this.table.$(checkbox_id); if (debug) messages.debug("set_checkbox checked=" + checked + " id=" + checkbox_id + " matches=" + element.length); @@ -271,6 +272,7 @@ on_filter_added: function(filter) { // XXX + console.log(filter); this.redraw_table(); },