aboutsummaryrefslogtreecommitdiffstats
path: root/static-http/ajamdemo.html
diff options
context:
space:
mode:
Diffstat (limited to 'static-http/ajamdemo.html')
-rw-r--r--static-http/ajamdemo.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/static-http/ajamdemo.html b/static-http/ajamdemo.html
index 687b59044..f6b690e86 100644
--- a/static-http/ajamdemo.html
+++ b/static-http/ajamdemo.html
@@ -49,10 +49,14 @@
selectedchan = null;
}
if (loggedon) {
+ $('username').disabled = 1;
+ $('secret').disabled = 1;
$('logoff').disabled = 0;
$('login').disabled = 1;
$('refresh').disabled = 0;
} else {
+ $('username').disabled = 0;
+ $('secret').disabled = 0;
$('logoff').disabled = 1;
$('login').disabled = 0;
$('refresh').disabled = 1;