aboutsummaryrefslogtreecommitdiffstats
path: root/static-http/ajamdemo.html
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-03 01:48:59 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-03 01:48:59 +0000
commit1139bf72ca8f22e16fded818a528450e4276ac2f (patch)
tree619da00da25d4b56e58d7c11be68586784114569 /static-http/ajamdemo.html
parentf533b7504cb3a60ecd111137223db647b7e170ec (diff)
Minor demo cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17009 f38db490-d61c-443f-a65b-d21fe96a405b
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;