From df596019496a6fb2ad0a8e2c32f1a2310101cf49 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 5 Dec 2013 12:17:18 +0100 Subject: [PATCH] checkboxes behave as expected --- plugins/querytable/static/js/querytable.js | 58 ++++++---------------- 1 file changed, 14 insertions(+), 44 deletions(-) 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 += "