X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fquery_editor%2Fstatic%2Fjs%2Fquery_editor.js;h=3fb1e4ecf7b318db0f72f229cc11369df5e20bf4;hb=22dba9d34674e0cc1b285e678bbb7bc6482c58ca;hp=e065a657102d96715675eb736d7e0dc30914919a;hpb=d1e5d12b2b9519801f7b981a2177b3f36115714a;p=myslice.git diff --git a/plugins/query_editor/static/js/query_editor.js b/plugins/query_editor/static/js/query_editor.js index e065a657..3fb1e4ec 100644 --- a/plugins/query_editor/static/js/query_editor.js +++ b/plugins/query_editor/static/js/query_editor.js @@ -37,13 +37,13 @@ this.listen_query(options.query_uuid); - this.els('queryeditor-auto-filter').change(this.event_filter_added('=')); - this.els('queryeditor-filter').change(this.event_filter_added('=')); - this.els('queryeditor-filter-min').change(this.event_filter_added('>')); - this.els('queryeditor-filter-max').change(this.event_filter_added('<')); + this.elts('queryeditor-auto-filter').change(this.event_filter_added('=')); + this.elts('queryeditor-filter').change(this.event_filter_added('=')); + this.elts('queryeditor-filter-min').change(this.event_filter_added('>')); + this.elts('queryeditor-filter-max').change(this.event_filter_added('<')); var self = this; - this.els('queryeditor-check').click(function() { + this.elts('queryeditor-check').click(function() { manifold.raise_event(self.options.query_uuid, this.checked?FIELD_ADDED:FIELD_REMOVED, this.value); });