From: Mike Taylor Date: Mon, 19 Jan 2015 12:34:06 +0000 (+0000) Subject: Clean-up for MKWS-352 work. X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=72982e91181c46d88a2146d9a53deb64677fc498;p=mkws-moved-to-github.git Clean-up for MKWS-352 work. Targets tempate is now passed the true ID as its "id" field rather than the cached name associated with that ID. --- diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index 3049959..e04b87d 100644 --- a/src/mkws-widget-main.js +++ b/src/mkws-widget-main.js @@ -20,7 +20,7 @@ mkws.registerWidgetType('targets', function() { for (var i = 0; i < data.length; i++) { var cur = {}; cur.name = data[i].name; - cur.id = that.team.targetName(data[i].id); + cur.id = data[i].id; cur.hits = data[i].hits; cur.diagnostic = data[i].diagnostic; cur.message = data[i].message;