Skip to content
Browse files

Fix loading of childgroups if index is 0

closes #41
  • Loading branch information...
1 parent 6b99f04 commit 0f221c6e5d545d9fefa83e12d931ec236390df0e @johnny committed Dec 12, 2013
Showing with 4 additions and 2 deletions.
  1. +3 −1 TODO
  2. +1 −1 source/js/jquery-sortable.js
View
4 TODO
@@ -1,4 +1,6 @@
-- [0/0] bugs
+- [0/2] bugs
+ - [ ] last Pointer is NaN in search valid target
+ - [ ] prevent infinite recursion
- [0/5] consider
- [ ] better name for searchValidTarget
- [ ] shortcut on getNearest()
View
2 source/js/jquery-sortable.js
@@ -215,7 +215,7 @@
ContainerGroup.get = function (options) {
if( !containerGroups[options.group]) {
- if(!options.group)
+ if(options.group === undefined)
options.group = groupCounter ++
containerGroups[options.group] = new ContainerGroup(options)
}

0 comments on commit 0f221c6

Please sign in to comment.
Something went wrong with that request. Please try again.