Module: nagvis Branch: nagvis-1.4 Commit: bfdd1305fe734d8ca27ef02c6a8397b6a0490076 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=bfdd1305fe734d8ca27ef02c6a8397b6a0490076
Author: Lars Michelsen <[email protected]> Date: Fri Oct 9 23:45:42 2009 +0200 Conflicts: nagvis/nagvis/includes/js/frontend.js --- nagvis/nagvis/includes/js/frontend.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nagvis/nagvis/includes/js/frontend.js b/nagvis/nagvis/includes/js/frontend.js index 93d5f30..f7edd31 100644 --- a/nagvis/nagvis/includes/js/frontend.js +++ b/nagvis/nagvis/includes/js/frontend.js @@ -512,7 +512,7 @@ function updateObjects(aMapObjectInformations, aObjs, sType) { // Detach the handler // Had problems with this. Could not give the index to function: // function() { flashIcon(iIndex, 10); iIndex = null; } - window.setTimeout('flashIcon('+intIndex+', '+oPageProperties.event_highlight_duration+', '+oPageProperties.event_highlight_interval+')', 0); + setTimeout('flashIcon('+intIndex+', '+oPageProperties.event_highlight_duration+', '+oPageProperties.event_highlight_interval+')', 0); } else { // FIXME: Atm only flash icons, not lines or gadgets } @@ -521,7 +521,7 @@ function updateObjects(aMapObjectInformations, aObjs, sType) { // - Scroll to object if(oPageProperties.event_scroll === '1') { // Detach the handler - window.setTimeout(function() { scrollSlow(aObjs[intIndex].conf.x, aObjs[intIndex].conf.y, 15); }, 0); + setTimeout(function() { scrollSlow(aObjs[intIndex].conf.x, aObjs[intIndex].conf.y, 15); }, 0); } // - Eventlog @@ -534,7 +534,7 @@ function updateObjects(aMapObjectInformations, aObjs, sType) { // - Sound if(oPageProperties.event_sound === '1') { // Detach the handler - window.setTimeout('playSound('+intIndex+', 1)', 0); + setTimeout('playSound('+intIndex+', 1)', 0); } } @@ -769,7 +769,7 @@ function playSound(intIndex, iNumTimes){ iNumTimes = iNumTimes - 1; if(iNumTimes > 0) { - window.setTimeout(function() { playSound(intIndex, iNumTimes); }, 500); + setTimeout(function() { playSound(intIndex, iNumTimes); }, 500); } } @@ -816,7 +816,7 @@ function flashIcon(intIndex, iDuration, iInterval){ // Flash again until timer counted down and the border is hidden if(iDurationNew > 0 || (iDurationNew <= 0 && aMapObjects[intIndex].bIsFlashing === true)) { - window.setTimeout(function() { flashIcon(intIndex, iDurationNew, iInterval); }, iInterval); + setTimeout(function() { flashIcon(intIndex, iDurationNew, iInterval); }, iInterval); } oObjIcon = null; ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
