X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fmkws-widget-main.js;h=70c45e2f3ae7765072d74581e65fd8a4dce84918;hb=557aeb368deb630ab4dd70140a1425f8ba67c8fc;hp=53e2f5c2e8ac12c19be28d12877c5970eae7ef08;hpb=6bd6b79fe02808c9cbc19c44f7d8355637e13fb3;p=mkws-moved-to-github.git diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 53e2f5c..70c45e2 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -100,7 +100,6 @@ mkws.registerWidgetType('details', function() { }); } this.team.queue("record").subscribe(function(data) { - console.log(data); if ($.inArray(recid, data.recid) > -1) { var template = that.team.loadTemplate(that.config.template || "details"); that.node.html(template(data)); @@ -115,7 +114,6 @@ mkws.registerWidgetType('records', function() { this.team.queue("records").subscribe(function(data) { for (var i = 0; i < data.hits.length; i++) { var hit = data.hits[i]; - that.team.queue("record").publish(hit); hit.detailLinkId = team.recordElementId(hit.recid[0]); hit.detailClick = "mkws.showDetails('" + team.name() + "', '" + hit.recid[0] + "');return false;"; hit.containerClass = "mkws-summary mkwsSummary mkws-team-" + team.name(); @@ -222,7 +220,6 @@ mkws.registerWidgetType('switch', function() { mkws.registerWidgetType('search', function() { var output = {}; output.team = this.team.name(); - output.queryWidth = this.config.query_width; var template = this.team.loadTemplate(this.config.template || "search"); this.node.html(template(output)); });