Sha256: 8aca3bde9303d500d388a94d9f56b47d166a20072a60c722bf3aba39ac144306

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

/*
 * Patch for sortable and nestedSortable scroll jump issue
 */

(function($) {

  var superMouseStart = $.ui.sortable.prototype._mouseStart;
  $.ui.sortable.prototype._superMouseStart = superMouseStart;
  $.ui.sortable.prototype._mouseStart = function(event, overrideHandle, noActivation) {
    this._trigger("beforeStart", event, this._uiHash());
    this._superMouseStart(event, overrideHandle, noActivation);
  }

})(jQuery);

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slices-2.0.2 app/assets/javascripts/slices/lib/sortable.js
slices-2.0.1 app/assets/javascripts/slices/lib/sortable.js
slices-2.0.0 app/assets/javascripts/slices/lib/sortable.js
slices-1.0.5 app/assets/javascripts/slices/lib/sortable.js
slices-1.0.4 app/assets/javascripts/slices/lib/sortable.js
slices-1.0.3 app/assets/javascripts/slices/lib/sortable.js
slices-1.0.2 app/assets/javascripts/slices/lib/sortable.js
slices-1.0.1 app/assets/javascripts/slices/lib/sortable.js
slices-1.0.0 app/assets/javascripts/slices/lib/sortable.js