From 7cabead3bc8b6fc31e039a20d86346c0ffb06fe3 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Tue, 7 Apr 2015 21:06:23 -0700 Subject: [PATCH] [Containment] Remove condition around drop event Remove condition (now obsolete) which checked for mutation after drop, for changes for WTD-962. --- platform/representation/src/gestures/DropGesture.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/platform/representation/src/gestures/DropGesture.js b/platform/representation/src/gestures/DropGesture.js index 4f1059bbec..2185bf0e21 100644 --- a/platform/representation/src/gestures/DropGesture.js +++ b/platform/representation/src/gestures/DropGesture.js @@ -78,10 +78,7 @@ define( // the change. if (id) { $q.when(action && action.perform()).then(function (result) { - // Broadcast the drop event if it was successful - if (result) { - broadcastDrop(id, event); - } + broadcastDrop(id, event); }); }