Author:   Lars Michelsen <[email protected]>
Date:     Sat Jul 23 12:07:19 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sat Jul 23 12:07:19 2011 +0200

Bugfix: Preventing text selections while dragging objects in IE

---

 ChangeLog                           |    1 +
 share/frontend/nagvis-js/js/edit.js |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4b94d86..d39118b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@ Frontend
   * Bugfix: Fixed background image positioning with enabled sidebar and small 
screens
   * Bugfix: Fixed coloring of two part lines in IE
   * Bugfix: Fixed drawing of second part in two part lines in IE
+  * Bugfix: Preventing text selections while dragging objects in IE
 
 Core
   * omd_install: Installing missing doc/ dir now; Cleaning cache files on 
install
diff --git a/share/frontend/nagvis-js/js/edit.js 
b/share/frontend/nagvis-js/js/edit.js
index 6f8b97c..9cd35a8 100644
--- a/share/frontend/nagvis-js/js/edit.js
+++ b/share/frontend/nagvis-js/js/edit.js
@@ -466,7 +466,7 @@ function addFollowing(e) {
  * Register events
  *************************************************/
 
-// First firefox and the IE
+// First firefox and then the IE
 if (window.addEventListener) {
   window.addEventListener("mousemove", function(e) {
     dragObject(e);
@@ -482,12 +482,12 @@ if (window.addEventListener) {
   document.documentElement.onmousemove  = function(e) {
     dragObject(e);
     addFollowing(e);
-    return true;
+    return false;
   };
 
   document.documentElement.onclick = function(e) {
     addClick(e);
-    return true;
+    return false;
   };
 }
 


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to