pari: trunk r404 - /trunk/config/guialert.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Mar 7 18:46:31 MST 2007


Author: pari
Date: Wed Mar  7 19:46:31 2007
New Revision: 404

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=404
Log:
IE6 giving an error at focus()

Modified:
    trunk/config/guialert.html

Modified: trunk/config/guialert.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/guialert.html?view=diff&rev=404&r1=403&r2=404
==============================================================================
--- trunk/config/guialert.html (original)
+++ trunk/config/guialert.html Wed Mar  7 19:46:31 2007
@@ -6,7 +6,7 @@
 	if(top.alertmsgtype == 1 ){
 		document.getElementById('message').innerHTML = top.alertmsg ;
 		document.getElementById('div_alert').style.display = "" ;
-		document.getElementById('ok').focus() ;
+		try{document.getElementById('ok').focus() ;}catch(e){ }
 	}
 }
 



More information about the asterisk-gui-commits mailing list