pari: trunk r468 - /trunk/config/cfgbasic.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Thu Mar 22 10:13:57 MST 2007


Author: pari
Date: Thu Mar 22 12:13:57 2007
New Revision: 468

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=468
Log:
Stupid CamelCases

Modified:
    trunk/config/cfgbasic.html

Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?view=diff&rev=468&r1=467&r2=468
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Thu Mar 22 12:13:57 2007
@@ -121,8 +121,8 @@
 	for (var i = 0; i < panels.length; i++) {
 		if (panels[i].name == 'home'){continue;}
 		var w = _$(panels[i].name); 
-		w.onclick = (loggedon == 1)?$(panels[i].name).realonclick: false;
-		w.onmouseover = (loggedon == 1)?$(panels[i].name).realonmouseover:false;
+		w.onClick = (loggedon == 1)?w.realonclick: false;
+		w.onMouseOver = (loggedon == 1)?w.realonmouseover:false;
 		w.style.visibility = (loggedon == 1)?'inherit':'hidden';
 	}
 }
@@ -186,8 +186,8 @@
 			w.style.height =  "19px";
 			continue;
 		}
-		w.realonclick = w.onclick;
-		w.realonmouseover = w.onmouseover;
+		w.realonclick = w.onClick;
+		w.realonmouseover = w.onMouseOver;
 	}
 	started = 1;
 }



More information about the asterisk-gui-commits mailing list