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
Rename unused mkws property "service_proxy_auth" to "authenticated".
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
b5c1b34
..
62fed9a
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-5,6
+5,7
@@
// Set up namespace and some state.
var mkws = {
// Set up namespace and some state.
var mkws = {
+ authenticated: false,
filters: [],
};
filters: [],
};
@@
-416,6
+417,11
@@
function onFormSubmitEventHandler()
function newSearch(query)
{
function newSearch(query)
{
+ if (!mkws.authenticated) {
+ alert("searching before authentication");
+ return;
+ }
+
mkws.filters = []
redraw_navi();
resetPage();
mkws.filters = []
redraw_navi();
resetPage();
@@
-1009,7
+1015,7
@@
function mkws_service_proxy_auth(auth_url, auth_domain) {
}
debug("Service proxy auth successfully done");
}
debug("Service proxy auth successfully done");
- mkws.service_proxy_auth = true;
+ mkws.authenticated = true;
});
}
});
}