From: Mike Taylor Date: Fri, 11 Apr 2014 10:57:22 +0000 (+0100) Subject: handleNodeWithTeam now passes "AUTO" to the callback if the node in X-Git-Tag: 1.0.0~972^2~1 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=20f690d4f87c8c038930dee437f70d731a6c0d7a handleNodeWithTeam now passes "AUTO" to the callback if the node in question has no team. --- diff --git a/src/mkws-core.js b/src/mkws-core.js index 6b1e0f6..a030d5b 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -229,6 +229,8 @@ mkws.pagerNext = function(tname) { type = cname.replace(/^mkws/, ''); } } + + if (!teamName) teamName = "AUTO"; callback.call(node, teamName, type); }