// wrapper to call team() after page load
(function (j) {
- mkws.log = function (string) {
+ function log(string) {
if (!mkws.log_level)
return;
}
console.log(string);
}
- var log = mkws.log;
+ mkws.log = log;
function handleNodeWithTeam(node, callback) {
};
+ // The following functions are dispatchers for team methods that
+ // are called from the UI using a te3am-name rather than implicit
+ // context.
mkws.switchView = function(tname, view) {
mkws.teams[tname].switchView(view);
}
}
var status = $(data).find("status");
if (status.text() != "OK") {
- alert("service proxy auth repsonse status: " + status.text() + ", give up!");
+ alert("service proxy auth response status: " + status.text() + ", give up!");
return;
}