diff options
author | Mark Spencer <markster@digium.com> | 2006-04-03 01:48:59 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2006-04-03 01:48:59 +0000 |
commit | 628537c7a8ff0d5a50196a19ee0e25ced549a446 (patch) | |
tree | 619da00da25d4b56e58d7c11be68586784114569 /static-http/ajamdemo.html | |
parent | 8b53dd0b7eaae5e951125adaeb9b84579ab245b1 (diff) |
Minor demo cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'static-http/ajamdemo.html')
-rw-r--r-- | static-http/ajamdemo.html | 4 |
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; |