Created
June 3, 2013 22:53
-
-
Save shadowhand/5702171 to your computer and use it in GitHub Desktop.
Immediate refresh of all jQuery UI Droppables. This is very necessary when you create Droppables when a Draggable is started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// refresh droppables to work with a draggable that is already started | |
if ($.ui.ddmanager && $.ui.ddmanager.current) { | |
$.ui.ddmanager.prepareOffsets($.ui.ddmanager.current); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment