From: Mike Taylor Date: Fri, 17 Oct 2014 16:11:31 +0000 (+0100) Subject: switchView function uses new widget-type names. X-Git-Tag: 1.0.0~155^2~14 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=fb9e3fb3b09926f4be249b0263b9ad3174830481;p=mkws-moved-to-github.git switchView function uses new widget-type names. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 0825553..ad0c77e 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -340,10 +340,10 @@ mkws.makeTeam = function($, teamName) { // switching view between targets and records function switchView(view) { - var targets = widgetNode('Targets'); - var results = widgetNode('Results') || widgetNode('Records'); - var blanket = widgetNode('Blanket'); - var motd = widgetNode('MOTD'); + var targets = widgetNode('targets'); + var results = widgetNode('results') || widgetNode('records'); + var blanket = widgetNode('blanket'); + var motd = widgetNode('motd'); switch(view) { case 'targets':