projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo in error message.
[mkws-moved-to-github.git]
/
src
/
mkws-core.js
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
0a175e4
..
b11f53f
100644
(file)
--- a/
src/mkws-core.js
+++ b/
src/mkws-core.js
@@
-84,7
+84,7
@@
if (mkws_config == null || typeof mkws_config != 'object') {
// wrapper to call team() after page load
(function (j) {
// wrapper to call team() after page load
(function (j) {
- mkws.log = function (string) {
+ function log(string) {
if (!mkws.log_level)
return;
if (!mkws.log_level)
return;
@@
-100,7
+100,7
@@
if (mkws_config == null || typeof mkws_config != 'object') {
}
console.log(string);
}
}
console.log(string);
}
- var log = mkws.log;
+ mkws.log = log;
function handleNodeWithTeam(node, callback) {
function handleNodeWithTeam(node, callback) {
@@
-161,6
+161,9
@@
if (mkws_config == null || typeof mkws_config != 'object') {
};
};
+ // 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);
}
mkws.switchView = function(tname, view) {
mkws.teams[tname].switchView(view);
}
@@
-272,7
+275,7
@@
if (mkws_config == null || typeof mkws_config != 'object') {
}
var status = $(data).find("status");
if (status.text() != "OK") {
}
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;
}
return;
}