X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fmkws-core.js;h=61cccdc213f89f9f7b7a306f038727753d71ad06;hb=767950c8211a1d7cef01c32775b099e26149633d;hp=7f5b0f554014b0879f170528da31e906bcf659ef;hpb=bbf2ccdbeb4f62872901000b23a1e3bab7070115;p=mkws-moved-to-github.git diff --git a/src/mkws-core.js b/src/mkws-core.js index 7f5b0f5..61cccdc 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -161,6 +161,10 @@ if (mkws_config == null || typeof mkws_config != 'object') { }; + // The following functions are dispatchers for team methods that + // are called from the UI using a team-name rather than implicit + // context. Apart from mkws.log, they are the ONLY public UI to + // this module. mkws.switchView = function(tname, view) { mkws.teams[tname].switchView(view); } @@ -272,7 +276,7 @@ if (mkws_config == null || typeof mkws_config != 'object') { } 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; } @@ -293,7 +297,6 @@ if (mkws_config == null || typeof mkws_config != 'object') { $(document).ready(function() { - log("on load ready"); defaultMkwsConfig(); if (mkws_config.query_width < 5 || mkws_config.query_width > 150) {