autosearch function no longer expands the value of the autosearch
authorMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 11:51:46 +0000 (12:51 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 9 Jun 2014 11:51:46 +0000 (12:51 +0100)
parameter, as this has already been done when the widget object was
constructed.

src/mkws-widget.js

index 6bae333..e7ab19f 100644 (file)
@@ -98,7 +98,6 @@ function widget($, team, type, node) {
     var that = this;
     var query = this.config.autosearch;
     if (query) {
-      query = this.expandValue(query);
       var old = this.team.config().query;
       if (!old) {
         // Stash this for subsequent inspection