svn commit: r677884 - /lenya/trunk/src/webapp/lenya/resources/menu/menu.js

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: ragaller
Date: Fri Jul 18 04:53:26 2008
New Revision: 677884

URL: http://svn.apache.org/viewvc?rev=677884&view=rev
Log:
register onmouseout event for "nav"+i. fixes bug #45432

Modified:
    lenya/trunk/src/webapp/lenya/resources/menu/menu.js

Modified: lenya/trunk/src/webapp/lenya/resources/menu/menu.js
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/resources/menu/menu.js?rev=677884&r1=677883&r2=677884&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/resources/menu/menu.js (original)
+++ lenya/trunk/src/webapp/lenya/resources/menu/menu.js Fri Jul 18 04:53:26 2008
@@ -59,15 +59,16 @@
     var obj;
     var i;
     for (i=1; i <= numberOfMenus; i++) {
-	    obj = document.getElementById("nav"+i);
-	    if (obj != null) {
-		    obj.onclick = eventShowMenu;
-	    }
-	
-	    obj = document.getElementById("menu"+i);
-	    if (obj != null) {
-		    obj.onmouseover = menuOver;
-		    obj.onmouseout = menuOut;
-	    }
+        obj = document.getElementById("nav"+i);
+        if (obj != null) {
+            obj.onclick = eventShowMenu;
+            obj.onmouseout = menuOut;
+        }
+    
+        obj = document.getElementById("menu"+i);
+        if (obj != null) {
+            obj.onmouseover = menuOver;
+            obj.onmouseout = menuOut;
+        }
     }
  }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.