[ Root System Explorer ]
Location:
Root
/
home
/
svaxkys
/
www
/
AcmaCulot
/
wp-content
/
plugins
/
redux-framework
/
redux-core
/
inc
/
fields
/
sorter
+ Folder
+ File
Upload
Editing: redux-sorter.min.js
!function(s){"use strict";var i="";redux.field_objects=redux.field_objects||{},redux.field_objects.sorter=redux.field_objects.sorter||{},redux.field_objects.sorter.init=function(e){e=s.redux.getSelector(e,"sorter"),s(e).each(function(){var t=s(this),e=t;t.hasClass("redux-field-container")||(e=t.parents(".redux-field-container:first")),e.is(":hidden")||e.hasClass("redux-field-init")&&(e.removeClass("redux-field-init"),t.find(".redux-sorter").each(function(){var e=s(this).attr("id");t.find("#"+e).find("ul").sortable({items:"li",placeholder:"placeholder",connectWith:".sortlist_"+e,opacity:.8,scroll:!1,out:function(e,t){t.helper&&(i=0<t.offset.top?"down":"up",redux.field_objects.sorter.scrolling(s(this).parents(".redux-field-container:first")))},over:function(){i=""},deactivate:function(){i=""},stop:function(e,t){var i=redux.optName.sorter[s(this).attr("data-id")],r=s(this).find("h3").text();i.limits&&r&&i.limits[r]&&(s(this).children("li").length>=i.limits[r]?(s(this).addClass("filled"),s(this).children("li").length>i.limits[r]&&s(t.sender).sortable("cancel")):s(this).removeClass("filled"))},update:function(e,t){var i=redux.optName.sorter[s(this).attr("data-id")],r=s(this).find("h3").text();i.limits&&r&&i.limits[r]&&(s(this).children("li").length>=i.limits[r]?(s(this).addClass("filled"),s(this).children("li").length>i.limits[r]&&s(t.sender).sortable("cancel")):s(this).removeClass("filled")),s(this).find(".position").each(function(){var e,t=s(this).parent().attr("data-id"),i=s(this).parent().parent().attr("data-group-id");redux_change(s(this)),e=s(this).parent().parent().parent().attr("id"),s(this).prop("name",redux.optName.args.opt_name+"["+e+"]["+i+"]["+t+"]")})}}),t.find(".redux-sorter").disableSelection()}))})},redux.field_objects.sorter.scrolling=function(e){var t;void 0!==e&&(t=e.find(".redux-sorter"),"up"===i?(t.scrollTop(t.scrollTop()-20),setTimeout(redux.field_objects.sorter.scrolling,50)):"down"===i&&(t.scrollTop(t.scrollTop()+20),setTimeout(redux.field_objects.sorter.scrolling,50)))}}(jQuery);
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 class-redux-sorter.php
FILE
Ren
[EDIT]
DEL
📄 field_sorter.php
FILE
Ren
[EDIT]
DEL
📄 index.php
FILE
Ren
[EDIT]
DEL
📄 redux-sorter.css
FILE
Ren
[EDIT]
DEL
📄 redux-sorter.css.map
FILE
Ren
[EDIT]
DEL
📄 redux-sorter.js
FILE
Ren
[EDIT]
DEL
📄 redux-sorter.min.js
FILE
Ren
[EDIT]
DEL
📄 redux-sorter.scss
FILE
Ren
[EDIT]
DEL