Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use element.identify() for fetching element.id in Sortable.create
  • Loading branch information
RStankov authored and madrobby committed Oct 8, 2009
1 parent 04e4e17 commit ad473ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dragdrop.js
Expand Up @@ -729,7 +729,7 @@ var Sortable = {
}

// keep reference
this.sortables[element.id] = options;
this.sortables[element.identify()] = options;

// for onupdate
Draggables.addObserver(new SortableObserver(element, options.onUpdate));
Expand Down

0 comments on commit ad473ff

Please sign in to comment.