From 51161e8ddd15b2dce6c7dd93dd5fd9436845bccd Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 28 May 2013 22:09:03 +0000 Subject: [PATCH] For nested droppables, make children greedy to consume the action --- phpgwapi/js/egw_action/egw_action_dragdrop.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/js/egw_action/egw_action_dragdrop.js b/phpgwapi/js/egw_action/egw_action_dragdrop.js index a5e7778bb0..35344514b5 100644 --- a/phpgwapi/js/egw_action/egw_action_dragdrop.js +++ b/phpgwapi/js/egw_action/egw_action_dragdrop.js @@ -374,7 +374,9 @@ function egwDropActionImplementation() }, "tolerance": "pointer", activeClass: "ui-state-hover", - hoverClass: "ui-state-active" + hoverClass: "ui-state-active", + // Greedy is for nested droppables - children consume the action + greedy: true, } );