handleNodeWithTeam now passes "AUTO" to the callback if the node in
[mkws-moved-to-github.git] / src / mkws-core.js
index 6b1e0f6..a030d5b 100644 (file)
@@ -229,6 +229,8 @@ mkws.pagerNext = function(tname) {
                type = cname.replace(/^mkws/, '');
            }
        }
+
+        if (!teamName) teamName = "AUTO";
        callback.call(node, teamName, type);
     }