Browse Source

Merge branch 'master' into dev

pull/699/merge
RubaXa 9 years ago
parent
commit
d57aee37a5
  1. 7
      Sortable.js
  2. 2
      ng-sortable.js

7
Sortable.js

@ -830,6 +830,11 @@
}
}
}
this._nulling();
},
_nulling: function() {
// Nulling
rootEl =
dragEl =
@ -852,10 +857,8 @@
activeGroup =
Sortable.active = null;
}
},
handleEvent: function (/**Event*/evt) {
var type = evt.type;

2
ng-sortable.js

@ -149,7 +149,7 @@
return opts;
}, {
onStart: function (/**Event*/evt) {
nextSibling = evt.item.nextSibling;
nextSibling = evt.from === evt.item.parentNode ? evt.item.nextSibling : evt.clone.nextSibling;
_emitEvent(evt);
scope.$apply();
},

Loading…
Cancel
Save