|
From: <ken...@us...> - 2009-03-07 15:18:27
|
Revision: 1312
http://andro.svn.sourceforge.net/andro/?rev=1312&view=rev
Author: kendowns
Date: 2009-03-07 15:18:05 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Sourceforge 2643036, if user doodles with mouse during load and hits menu, don't do anything yet, or there will be errors.
Modified Paths:
--------------
trunk/andro/templates/x6/x6menuTop.php
Modified: trunk/andro/templates/x6/x6menuTop.php
===================================================================
--- trunk/andro/templates/x6/x6menuTop.php 2009-03-07 15:12:25 UTC (rev 1311)
+++ trunk/andro/templates/x6/x6menuTop.php 2009-03-07 15:18:05 UTC (rev 1312)
@@ -100,6 +100,11 @@
// If menu is activated, pick this one and turn off other,
// but if menu is not active do nothing
function x6menumouseover(menuid) {
+ // KFD 03/07/09 Sourceforge 2643036
+ // If x6 is not loaded yet, don't do anything
+ // Prevents errors from mouse doodling during
+ // page load
+ if(typeof(x6)=='undefined') return;
if(!window.x6menu) return;
if(window.x6menu == menuid) return;
@@ -123,6 +128,11 @@
// Clicking a menu pad activates the menu and causes
// mousing-over of other pads to activate those.
function x6menuclick(menuid) {
+ // KFD 03/07/09 Sourceforge 2643036
+ // If x6 is not loaded yet, don't do anything
+ // Prevents errors from mouse doodling during
+ // page load
+ if(typeof(x6)=='undefined') return;
// if an old one exists, clear it out
if(window.x6menu) {
var pad = x6.byId('x6menu_'+window.x6menu);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|