X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=src%2Fmkws-widget.js;h=05e39ca2ee9ca0e6026d2ab3454bfff08a4635b6;hp=0ea1e0f27b239383c255e5d3c255cf0120fbb6af;hb=699f025fbabc9fffb5f78e9f4f927ccdd9fdb936;hpb=ffd01a4bec7a1e2b99317a1e856a75a3006ad119 diff --git a/src/mkws-widget.js b/src/mkws-widget.js index 0ea1e0f..05e39ca 100644 --- a/src/mkws-widget.js +++ b/src/mkws-widget.js @@ -104,18 +104,6 @@ mkws.makeWidget = function($, team, type, node) { var that = this; var query = this.config.autosearch; if (query) { - var old = this.team.config.query; - if (!old) { - // Stash this for subsequent inspection - this.team.config.query = query; - } else if (old === query) { - this.warn("duplicate autosearch: '" + query + "': ignoring"); - return; - } else { - this.warn("conflicting autosearch: '" + query + "' vs '" + old + "': ignoring"); - return; - } - this.team.queue("ready").subscribe(function() { // Postpone testing for the configuration items: these are not // yet set for Record subclass widgets that fill them in in the