rem: var sortableOptions = this.options(element); var options = Object.extend({ tag:  sortableOptions.tag, only: sortableOptions.only, name: element.id, format: sortableOptions.format || /^[^_]*_(.*)$/ }, arguments[1] || {}); return $(this.findElements(element, options) || []).collect( function(item) { return (encodeURIComponent(options.name) + "[]=" + encodeURIComponent(item.id.match(options.format) ? item.id.match(options.format)[1] : '')); }).join("&"); 
add: var options = Object.extend(Sortable.options(element), arguments[1] || {}); var name = encodeURIComponent( (arguments[1] && arguments[1].name) ? arguments[1].name : element.id);  if (options.tree) { return Sortable.tree(element, arguments[1]).children.map( function (item) { return [name + Sortable._constructIndex(item) + "=" + encodeURIComponent(item.id)].concat(item.children.map(arguments.callee)); }).flatten().join('&'); } else { return Sortable.sequence(element, arguments[1]).map( function(item) { return name + "[]=" + encodeURIComponent(item); }).join('&'); } 
context:   serialize: function(element) {    element = $(element);    var sortableOptions = this.options(element);    var options = Object.extend({      tag:  sortableOptions.tag,      only: sortableOptions.only,      name: element.id,      format: sortableOptions.format || /^[^_]*_(.*)$/    }, arguments[1] || {});    return $(this.findElements(element, options) || []).collect( function(item) {      return (encodeURIComponent(options.name) + "[]=" +               encodeURIComponent(item.id.match(options.format) ? item.id.match(options.format)[1] : ''));    }).join("&");  }
meta: 3974	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3974/af9adbf17404d887f31369756326b0109da7ae2b/dragdrop.js/buggy/root/static/js/dragdrop.js