From 1139bf72ca8f22e16fded818a528450e4276ac2f Mon Sep 17 00:00:00 2001 From: markster Date: Mon, 3 Apr 2006 01:48:59 +0000 Subject: Minor demo cleanups git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17009 f38db490-d61c-443f-a65b-d21fe96a405b --- static-http/ajamdemo.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'static-http/ajamdemo.html') 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; -- cgit v1.2.3