From af9922f0f1fec22c171123a8b0962dd84318f29c Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 25 Apr 2014 17:04:34 +0100 Subject: [PATCH] The "Record" widget publishes a "record" widget with the data from each individual record that it's about to render. Useful mostly for logging. --- src/mkws-widgets.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mkws-widgets.js b/src/mkws-widgets.js index cd9e45d..517850b 100644 --- a/src/mkws-widgets.js +++ b/src/mkws-widgets.js @@ -237,6 +237,7 @@ mkws.registerWidgetType('Records', function() { var html = []; for (var i = 0; i < data.hits.length; i++) { var hit = data.hits[i]; + that.team.queue("record").publish(hit); var divId = team.recordElementId(hit.recid[0]); html.push('
', renderSummary(hit), '
'); // ### At some point, we may be able to move the -- 1.7.10.4