diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-17 12:51:03 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-17 12:51:03 +0200 |
commit | fad4cba5e20b3273c2adc80b7a7c5c9fa57ed720 (patch) | |
tree | 2450d3a003590d0a5946e923a6ef4da520b94af6 /client/components/boards/boardBody.js | |
parent | 879fc47b530e89ce11ae60579962d9bcaf103b17 (diff) | |
download | wekan-fad4cba5e20b3273c2adc80b7a7c5c9fa57ed720.tar.gz wekan-fad4cba5e20b3273c2adc80b7a7c5c9fa57ed720.tar.bz2 wekan-fad4cba5e20b3273c2adc80b7a7c5c9fa57ed720.zip |
Improve card and list sortable drag
Use a custom build of jquery-ui with only the plugins we need (instead
of including everything).
Fix a tricky bug of conflict between Blaze reactive updates and
jquery-ui (which caused cards to sometimes disappear).
Diffstat (limited to 'client/components/boards/boardBody.js')
-rw-r--r-- | client/components/boards/boardBody.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 1fd64cbc..876f2cd0 100644 --- a/client/components/boards/boardBody.js +++ b/client/components/boards/boardBody.js @@ -72,10 +72,10 @@ BlazeComponent.extendComponent({ self.$(lists).sortable({ tolerance: 'pointer', - appendTo: '.js-lists', helper: 'clone', items: '.js-list:not(.js-list-composer)', placeholder: 'list placeholder', + distance: 7, start: function(evt, ui) { ui.placeholder.height(ui.helper.height()); Popup.close(); |