Module: nagvis
Branch: master
Commit: 0087803aec6c5f58d085e05f3a71040282f9e02d
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=0087803aec6c5f58d085e05f3a71040282f9e02d

Author: Lars Michelsen <[email protected]>
Date:   Thu Oct 15 22:40:38 2009 +0200

Context menu will be hidden on hovermenu when clicking somewhere out of the 
context menu

---

 .../templates/pages/default.overview.html          |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/share/userfiles/templates/pages/default.overview.html 
b/share/userfiles/templates/pages/default.overview.html
index 7ceb871..06f67bd 100644
--- a/share/userfiles/templates/pages/default.overview.html
+++ b/share/userfiles/templates/pages/default.overview.html
@@ -9,4 +9,7 @@ aRotations = Array();
 
 // Kick of the worker
 addDOMLoadEvent(function()\{runWorker(0, 'overview')});
+
+// This disables the context menu when someone clicked anywhere on the map
+document.body.onmousedown = contextMouseDown;
 </script>


------------------------------------------------------------------------------
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

Reply via email to