View Issue Details

IDProjectCategoryView StatusLast Update
0000536SOGoWeb Generalpublic2010-03-31 20:45
ReporterJason Oster Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.2.1 
Fixed in Version1.2.2 
Summary0000536: [patch] Drag events firing with right mouse button
Description

This bug can be seen best in Calendar view. Click and drag with the right mouse button. You will create a new event and open the popup menu at the same time. A patch is attached.

TagsNo tags attached.

Activities

2010-03-31 19:38

 

SOGo-fix_drag_new_event.patch (572 bytes)   
--- UI/WebServerResources/SchedulerUIDnD.js~	2010-03-31 04:02:48.000000000 -0700
+++ UI/WebServerResources/SchedulerUIDnD.js	2010-03-31 12:18:04.593333053 -0700
@@ -977,7 +977,7 @@ SOGoEventDragController.prototype = {
 
     onDragStart: function SEDC_onDragStart(event) {
         var target = getTarget(event);
-        if (target.nodeType == 1) {
+        if ((Event.isLeftClick(event)) && (target.nodeType == 1)) {
             if ((!this.eventCells
                  && (target.hasClassName("clickableHourCell")
                      || target.hasClassName("day")))
francis

francis

2010-03-31 20:45

administrator   ~0000839

Fixed in revision 4038e1c81a3afe4ac83664ba6c3a983a6a52c21e

Issue History

Date Modified Username Field Change
2010-03-31 19:38 Jason Oster New Issue
2010-03-31 19:38 Jason Oster File Added: SOGo-fix_drag_new_event.patch
2010-03-31 20:45 francis Note Added: 0000839
2010-03-31 20:45 francis Status new => resolved
2010-03-31 20:45 francis Fixed in Version => 1.2.2
2010-03-31 20:45 francis Resolution open => fixed
2010-03-31 20:45 francis Assigned To => francis