Fix drop action (using jquery-ui draggable) on rcube_list_widget

pull/6136/head
Aleksander Machniak 7 years ago
parent 0218c14c08
commit a17c123903

@ -159,7 +159,7 @@ init_row: function(row)
// set eventhandlers to table row (only left-button-clicks in mouseup)
.mousedown(function(e) { return self.drag_row(e, this.uid); })
.mouseup(function(e) {
if (e.which == 1 && !self.drag_active)
if (e.which == 1 && !self.drag_active && !$(e.currentTarget).is('.ui-droppable-active'))
return self.click_row(e, this.uid);
else
return true;

Loading…
Cancel
Save