Browse Source

Merge pull request #872 from KuroToro/dev

Include setData option on angular watchers
pull/883/head
Lebedev Konstantin 9 years ago committed by GitHub
parent
commit
395658766f
  1. 2
      ng-sortable.js

2
ng-sortable.js

@ -184,7 +184,7 @@
// Create watchers for `options`
angular.forEach([
'sort', 'disabled', 'draggable', 'handle', 'animation', 'group', 'ghostClass', 'filter',
'onStart', 'onEnd', 'onAdd', 'onUpdate', 'onRemove', 'onSort', 'onMove', 'onClone'
'onStart', 'onEnd', 'onAdd', 'onUpdate', 'onRemove', 'onSort', 'onMove', 'onClone', 'setData'
], function (name) {
watchers.push(scope.$watch('ngSortable.' + name, function (value) {
if (value !== void 0) {

Loading…
Cancel
Save