From: Thierry Parmentelat Date: Thu, 14 Nov 2013 20:53:04 +0000 (+0100) Subject: cosmetic X-Git-Tag: myslice-0.3-0~113^2~7^2~7^2~7^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=cdfa2912ddc146963df1684686617d13e94ea0c4;p=myslice.git cosmetic --- diff --git a/plugins/querytable/static/js/querytable.js b/plugins/querytable/static/js/querytable.js index 30c727b7..6a553bc9 100644 --- a/plugins/querytable/static/js/querytable.js +++ b/plugins/querytable/static/js/querytable.js @@ -350,14 +350,14 @@ on_new_record: function(record) { if (this.received_all_query) { - // if the 'all' query has been dealt with already we may turn on the checkbox - if (debug) messages.debug("turning on checkbox for record "+record[this.key]); + // if the 'all' query has been dealt with already we may turn on the checkbox + if (debug) messages.debug("turning on checkbox for record "+record[this.key]); this.set_checkbox(record, true); - } else { - // otherwise we need to remember that and do it later on - if (debug) messages.debug("Remembering record to check " + record[this.key]); + } else { + // otherwise we need to remember that and do it later on + if (debug) messages.debug("Remembering record to check " + record[this.key]); this.buffered_records_to_check.push(record); - } + } }, on_clear_records: function()