X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=plugins%2Fhazelnut%2Fstatic%2Fjs%2Fhazelnut.js;h=21b23f5beb37888e50b7383813fc2e90dd228681;hp=bdb2de70e450b2ca72c812dd1dbf4082f678f49d;hb=a2069daeaa50cf7328f838d4c3f2ca2da0727bbc;hpb=730273df1aae00c1c3c12b16d8447adee5da4bf9 diff --git a/plugins/hazelnut/static/js/hazelnut.js b/plugins/hazelnut/static/js/hazelnut.js index bdb2de70..21b23f5b 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);