Changeset 307

Show
Ignore:
Timestamp:
06/19/08 01:00:38 (21 months ago)
Author:
paul.bakaus
Message:

sortable: the options.items callback now receives null as first argument, a limited ui object as the second.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/ui.sortable.js

    r289 r307  
    152152                this.containers = [this]; 
    153153                var items = this.items; 
    154                 var queries = [$.isFunction(this.options.items) ? this.options.items.call(this.element) : $(this.options.items, this.element)]; 
     154                var queries = [$.isFunction(this.options.items) ? this.options.items.call(this.element, null, { options: this.options, item: this.currentItem }) : $(this.options.items, this.element)]; 
    155155         
    156156                if(this.options.connectWith) {