pari: trunk r48 - /trunk/config/scripts/astman.js

asterisk-gui-commits at lists.digium.internal asterisk-gui-commits at lists.digium.internal
Tue Oct 3 16:43:16 CDT 2006


Author: pari
Date: Tue Oct  3 16:43:15 2006
New Revision: 48

URL: http://svn.digium.com/view/asterisk-gui?rev=48&view=rev
Log:
setfocus to name field when a new category is being created

Modified:
    trunk/config/scripts/astman.js

Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?rev=48&r1=47&r2=48&view=diff
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Tue Oct  3 16:43:15 2006
@@ -547,8 +547,10 @@
 		box.widgets['cancel'].disabled = false;
 	if (box.widgets['status']) 
 		box.widgets['status'].innerHTML = "<i>Creating new entry!</i>";
-	if (box.widgets['name'])
+	if (box.widgets['name']){
 		box.widgets['name'].value = name;
+		box.widgets['name'].focus();
+	}
 }
 
 



More information about the asterisk-gui-commits mailing list