pari: trunk r857 - /trunk/config/cli.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu May 3 09:18:00 MST 2007


Author: pari
Date: Thu May  3 11:18:00 2007
New Revision: 857

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=857
Log:
setfocus not working -> looks like setfocus is being executed while parent.loadscreen is still in progress, adding a small delay

Modified:
    trunk/config/cli.html

Modified: trunk/config/cli.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cli.html?view=diff&rev=857&r1=856&r2=857
==============================================================================
--- trunk/config/cli.html (original)
+++ trunk/config/cli.html Thu May  3 11:18:00 2007
@@ -29,7 +29,7 @@
 	setWindowTitle("Asterisk CLI Emulator");
 	parent.loadscreen(this);
 	_$('cli_cmd').value = "core show version";
-	_$('cli_cmd').focus();
+	setTimeout( function(){_$('cli_cmd').focus();},500);
 }
 
 function resetmainscreen(){



More information about the asterisk-gui-commits mailing list