Author: jmorliaguet
Date: Sat May 27 00:28:48 2006
New Revision: 3233

Modified:
   cpsskins/branches/paris-sprint-2006/lib/cpsskins/src/cpsskins.js

Log:

- prevent text selection in Firefox



Modified: cpsskins/branches/paris-sprint-2006/lib/cpsskins/src/cpsskins.js
==============================================================================
--- cpsskins/branches/paris-sprint-2006/lib/cpsskins/src/cpsskins.js    
(original)
+++ cpsskins/branches/paris-sprint-2006/lib/cpsskins/src/cpsskins.js    Sat May 
27 00:28:48 2006
@@ -869,7 +869,7 @@
     if (!draggable) {
       return false;
     }
-    Event.stop(e);
+    if (e.preventDefault) e.preventDefault();
 
     this.target = $(draggable);
     var pos = Position.cumulativeOffset(draggable);
@@ -2384,7 +2384,6 @@
 
   /* Event handlers */
   showEvent: function(e) {
-    if (Event.isLeftClick(e)) return;
     if (this.wait) return;
     var element = Event.element(e);
     var selected = CPSSkins.Identifiable.getIdentifiable(element);
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to