n00dl3
b7db3455e7
Add \n before comment
9 years ago
dev101
9b9704e182
Update Sortable.js
9 years ago
n00dl3
0dc1c1b91f
trigger most specialized events first
9 years ago
Lebedev Konstantin
43d2b4cc95
Merge pull request #742 from why520crazy/master
...
new PR for https://github.com/RubaXa/Sortable/pull/741
9 years ago
why520crazy
d1356e1633
fix bug for https://github.com/RubaXa/Sortable/issues/628
9 years ago
Lebedev Konstantin
504f868d4a
Merge pull request #715 from livelazily/dev
...
small fix with #373
9 years ago
Lebedev Konstantin
e40abac2ef
Merge pull request #739 from didiermoniquet/dev
...
React Mixin - Fixing check for existence of getDOMNode function
9 years ago
Didier Moniquet
b6d5fb6567
React Mixin - Fixing check for existence of getDOMNode function
9 years ago
RubaXa
569b1187bd
#707 : + abs for _ghostIsLast
9 years ago
Lebedev Konstantin
6963281a2b
Merge pull request #737 from petemill/patch-1
...
knockout-sortable - prioritise global dependencies if available
9 years ago
Pete Miller
025fd97865
knockout-sortable - use global dependencies if available, then fallback to require / AMD
9 years ago
RubaXa
01a2991548
Merge branch 'dev' of github.com:RubaXa/Sortable into dev
9 years ago
RubaXa
ba2b0863d1
#732 : fixed 'preapreGroup'
9 years ago
Lebedev Konstantin
ea407ce24b
Merge pull request #730 from dangreen/master
...
Throw error if call in node
9 years ago
Onoshko Dan
ef4314bfa7
Throw error if call in node
9 years ago
Lebedev Konstantin
da5a74b054
Merge pull request #727 from calexicoz/dev
...
Allow event functions to be defined as functions AND strings.
9 years ago
Julien
764b060cbd
Allow event functions to be defined as functions AND strings.
...
The current behavior (in `master`) is to define the handling functions for events as strings. Default for `onSort` for example is `handleSort`. Commit 8cef762d11
changed this behavior forcing handling functions to be defined as functions in the options. This breaks all existing code, resulting in a no-op even with the default options (which still define the default handlers as strings).
This commit restores previous behavior AND allows you to define your handlers as functions directly, if you’re so inclined.
9 years ago
RubaXa
7f3ee38b16
#718 : * fixed context in 'add' & 'sort' events
9 years ago
Lebedev Konstantin
2ffa00f623
Merge pull request #725 from auxcoder/dev
...
#666 Return DOM information of element in env object
9 years ago
Pavel Duran
59b6818b4c
#666 Return DOM information of element in env object
9 years ago
Lebedev Konstantin
ff3deb0433
Merge pull request #720 from livelazily/fix-un-watch
...
`scope` does not has "off" function
9 years ago
livelazily
dc2e736e57
`scope` does not has "off" function
9 years ago
livelazily
5617c507cf
fix ng-repeat with other element in the same parent element
9 years ago
RubaXa
a1790fdf23
#677 : + pull/put as functions
9 years ago
RubaXa
9eb3ef5b2d
* on ->
9 years ago
RubaXa
b5780dce35
* UPD
9 years ago
RubaXa
f3af805d75
#671 : + 'clone' support jQuery/Zepto/Polymer.dom
9 years ago
Lebedev Konstantin
1be46d0663
Update CONTRIBUTING.md
9 years ago
RubaXa
31e6f0fab6
#701 : fixed oldIndex & selector == '>*'
9 years ago
RubaXa
2e82d42aec
#670 : * code style
9 years ago
RubaXa
d57aee37a5
Merge branch 'master' into dev
9 years ago
Lebedev Konstantin
0b0da56b7d
Merge pull request #670 from tori3/modify_destroy_func
...
Modified to initialize variables in _onDrop. so destory function does…
9 years ago
RubaXa
3a83c35d02
Merge branch 'srosengren-dev' into dev
9 years ago
RubaXa
4ee9735a60
* resolve conflicts
9 years ago
RubaXa
e53002892f
#664 : .on('') -> scope.on('')
9 years ago
RubaXa
2ec12f7ecd
#671 : + 'clone' event
9 years ago
RubaXa
92a7deae2a
#687 : fixed 'parentEl'
9 years ago
Lebedev Konstantin
179006c23e
Merge pull request #689 from WorktileTech/drag-fix
...
fix bug about evt.oldIndex when set options.group
9 years ago
why520crazy
f4f7051750
meet style
9 years ago
Lebedev Konstantin
f26d300c03
Merge pull request #684 from matikun86/master
...
Fix for Issue #580 [Angular] Javascript error when moving items between two lists very fast #683
9 years ago
mkun
e03656d860
Sometimes evt.from is different from evt.item.parentNode because the item has been moved already so using evt.item.nextSibling won't work when doing evt.from.insertBefore, because nextSibling is not a child of evt.from.
...
So in those cases we use evt.clone.nextSibling instead.
9 years ago
RubaXa
15e82b5ae8
* merge: dev + master
9 years ago
RubaXa
fc69adad94
+ merge master
9 years ago
shimizu daisuke
7370f0a8cf
Modified to initialize variables in _onDrop. so destory function does not work well.
9 years ago
Lebedev Konstantin
6952f3b525
Merge pull request #607 from dlamotte/master
...
fix for sorting elements within a non-homogenus list of elements
9 years ago
Lebedev Konstantin
18dd1bd4f5
Merge pull request #662 from J-Zeitler/dev
...
fix a bug causing wrapped float/flex elements to flicker when sorted
9 years ago
Jonas Zeitler
4094911e8f
revert index.html change + fix styling errors
9 years ago
Jonas Zeitler
5c426a87de
fix a bug causing wrapped float/flex elements to flicker when sorted
9 years ago
Dan LaMotte
4facaff715
refactor _matches() out of _closest()
...
The _closest() method already defined a way to do what _matches() was
trying to accomplish. This pulls the functionality out of _closest() so
that it can be reused outside of _closest() but refactors _closest() to
use this new _matches() method.
9 years ago
Dan LaMotte
4c2bd1c287
fix for sorting elements within a non-homogenus list of elements
...
For instance, say you are sorting tbody's within a table element. There
can also exist tfoot and thead within the table element. The _index()
function assumes that the list of elements within the parent is
homogenus (ie: just li's below an ol/ul). This isnt the case when
sorting tbody under table. This is edge case until you want to group
tr's under a table and sort on those groupings.
9 years ago