Skip to content
Permalink
Browse files

sortable: the options.items callback now receives null as first argum…

…ent, a limited ui object as the second.
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jun 19, 2008
1 parent d2b9d56 commit 430a0da9f64a019ff5634a1111472cde3a53822f
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.sortable.js
@@ -151,7 +151,7 @@ $.widget("ui.sortable", $.extend($.ui.mouse, {
this.items = [];
this.containers = [this];
var items = this.items;
var queries = [$.isFunction(this.options.items) ? this.options.items.call(this.element) : $(this.options.items, this.element)];
var queries = [$.isFunction(this.options.items) ? this.options.items.call(this.element, null, { options: this.options, item: this.currentItem }) : $(this.options.items, this.element)];

if(this.options.connectWith) {
for (var i = this.options.connectWith.length - 1; i >= 0; i--){

0 comments on commit 430a0da

Please sign in to comment.
You can’t perform that action at this time.