From 073796082950b0207190863faeceb9705d48f92b Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Mon, 4 Aug 2014 15:58:20 -0400 Subject: [PATCH] Re-append placeholder on second hover over valid container with pullPlaceholder: false. --- source/js/jquery-sortable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/js/jquery-sortable.js b/source/js/jquery-sortable.js index 5fcccf3..d1cd054 100644 --- a/source/js/jquery-sortable.js +++ b/source/js/jquery-sortable.js @@ -274,8 +274,10 @@ t = this.options.tolerance if(!box || box.top - t > y || box.bottom + t < y || box.left - t > x || box.right + t < x) - if(!this.searchValidTarget()) + if(!this.searchValidTarget()){ this.placeholder.detach() + this.lastAppendedItem = undefined + } }, drop: function (e) { this.toggleListeners('off')