From cf87417bac7efbc93667382520758b4c5e44638a Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 12 May 2019 20:32:41 +0200 Subject: Update assets. --- .../nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js (limited to 'public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js') diff --git a/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js b/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js new file mode 100644 index 0000000..efffd8e --- /dev/null +++ b/public/assets/refinery/nestedsortables-b266f4b69dbfaaf32ef97e3f14088321.js @@ -0,0 +1,12 @@ +/* + * jQuery UI Nested Sortable + * v 1.3.4 / 28 apr 2011 + * http://mjsarfatti.com/sandbox/nestedSortable + * + * Depends: + * jquery.ui.sortable.js 1.8+ + * + * License CC BY-SA 3.0 + * Copyright 2010-2011, Manuele J Sarfatti + */ +!function(c){c.widget("ui.nestedSortable",c.extend({},c.ui.sortable.prototype,{options:{tabSize:20,disableNesting:"ui-nestedSortable-no-nesting",errorClass:"ui-nestedSortable-error",listType:"ol",maxLevels:0,noJumpFix:0},_create:function(){return 0==this.noJumpFix&&this.element.height(this.element.height()),this.element.data("sortable",this.element.data("nestedSortable")),c.ui.sortable.prototype._create.apply(this,arguments)},_mouseDrag:function(t){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll){var e=this.options,i=!1;this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageYp.offset().left+e.tabSize?(this._isAllowed(p,h+a+1),p.children(e.listType).length||p[0].appendChild(newList),p.children(e.listType)[0].appendChild(this.placeholder[0]),this._trigger("change",t,this._uiHash())):this._isAllowed(n,h+a),this._contactContainers(t),c.ui.ddmanager&&c.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){if(this.beyondMaxLevels){for(var i=this.placeholder.parent().closest(this.options.items),s=this.beyondMaxLevels-1;0