From: Thierry Parmentelat Date: Thu, 5 Dec 2013 11:17:18 +0000 (+0100) Subject: checkboxes behave as expected X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=df596019496a6fb2ad0a8e2c32f1a2310101cf49 checkboxes behave as expected --- diff --git a/plugins/querytable/static/js/querytable.js b/plugins/querytable/static/js/querytable.js index 8712e523..57b260dc 100644 --- a/plugins/querytable/static/js/querytable.js +++ b/plugins/querytable/static/js/querytable.js @@ -126,60 +126,32 @@ this.columnpicker = new Slick.Controls.ColumnPicker (this.slick_columns, this.slick_grid, this.slick_options) - }, // initialize_table - // Determine index of key in the table columns - getColIndex: function(key, cols) { - var tabIndex = $.map(cols, function(x, i) { if (x.sTitle == key) return i; }); - return (tabIndex.length > 0) ? tabIndex[0] : -1; - }, // getColIndex - - checkbox_html : function (key, value) { - if (debug_deep) messages.debug("checkbox_html, value="+value); - var result=""; - // Prefix id with plugin_uuid - result += "