[ Root System Explorer ]
Location:
Root
/
home
/
svaxkys
/
www
/
Arcomet
/
wp-content
/
plugins
/
redux-framework
/
redux-core
/
inc
/
fields
/
image_select
+ Folder
+ File
Upload
Editing: redux-image-select.min.js
!function(d){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.image_select=redux.field_objects.image_select||{},redux.field_objects.image_select.init=function(e){e=d.redux.getSelector(e,"image_select"),d(e).each(function(){var r=d(this),e=r;r.hasClass("redux-field-container")||(e=r.parents(".redux-field-container:first")),e.is(":hidden")||e.hasClass("redux-field-init")&&(e.removeClass("redux-field-init"),r.find(".redux-image-select label img, .redux-image-select label .tiles").click(function(e){var t,i,s,l,a=d(this).closest("label").attr("for");if(d(this).parents("fieldset:first").find(".redux-image-select-selected").removeClass("redux-image-select-selected").find('input[type="radio"]').prop("checked",!1),d(this).closest("label").find('input[type="radio"]').prop("checked"),d(this).closest("label").hasClass("redux-image-select-preset-"+a))return e.preventDefault(),t=d(this).closest("label").find("input"),i=t.data("presets"),null!=(s=t.data("merge"))&&("string"===d.type(s)&&(s=s.split("|")),d.each(i,function(e){"object"!==d.type(redux.optName.options[e])||!0!==s&&-1===d.inArray(e,s)||(i[e]=d.extend(redux.optName.options[e],i[e]))})),null!=t&&(r.find('label[for="'+a+'"]').addClass("redux-image-select-selected").find('input[type="radio"]').attr("checked",!0),window.onbeforeunload=null,0===(l=d('textarea[name="'+redux.optName.args.opt_name+'[import_code]"')).length?d(this).append('<textarea id="import-code-value" style="display:none;" name="'+redux.optName.args.opt_name+'[import_code]">'+JSON.stringify(i)+"</textarea>"):l.val(JSON.stringify(i)),0!==d("#publishing-action #publish").length?d("#publish").click():d("#redux-import").click()),!1;r.find('label[for="'+a+'"]').addClass("redux-image-select-selected").find('input[type="radio"]').prop("checked",!0).trigger("change"),redux_change(d(this).closest("label").find('input[type="radio"]'))}),r.find(".tiles").qtip({content:{text:function(){return'<img src="'+d(this).attr("rel")+'" style="max-width:150px;" alt=" />'}},style:"qtip-tipsy",position:{my:"top center",at:"bottom center"}}))})}}(jQuery);
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 class-redux-image-select.php
FILE
Ren
[EDIT]
DEL
📄 index.php
FILE
Ren
[EDIT]
DEL
📄 redux-image-select.css
FILE
Ren
[EDIT]
DEL
📄 redux-image-select.css.map
FILE
Ren
[EDIT]
DEL
📄 redux-image-select.js
FILE
Ren
[EDIT]
DEL
📄 redux-image-select.min.js
FILE
Ren
[EDIT]
DEL
📄 redux-image-select.scss
FILE
Ren
[EDIT]
DEL