PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
httpdocs
/
medifides
/
wp-content
/
themes
/
redbiz
/
js
;(function($) { 'use strict' // media_upload var media_upload = function(button_class) { var _custom_media = true, _orig_send_attachment = wp.media.editor.send.attachment; jQuery('body').on('click', button_class, function(e) { var button_id = '#' + jQuery(this).attr('id'); var self = jQuery(button_id); var send_attachment_bkp = wp.media.editor.send.attachment; var button = jQuery(button_id); var id = button.attr('id').replace('_button', ''); _custom_media = true; wp.media.editor.send.attachment = function(props, attachment) { if (_custom_media) { jQuery('.themesflat_media_id').val(attachment.id); jQuery('.themesflat_image_uri').val(attachment.url); jQuery('.themesflat_media_image').attr('src', attachment.url).css('display', 'block'); } else { return _orig_send_attachment.apply(button_id, [props, attachment]); } } wp.media.editor.open(button); return false; }); }; // Dom Ready $(function() { media_upload('.themesflat_media_upload'); }); })(jQuery);
[-] countdown.js
[open]
[-] jquery.cookie.js
[open]
[-] html5shiv.js
[open]
[-] jquery.flexslider-min.js
[open]
[-] parallax.js
[open]
[-] jquery.magnific-popup.min.js
[open]
[-] headline.js
[open]
[-] respond.min.js
[open]
[+]
..
[-] owl.carousel.js
[open]
[-] themesflat-upload-image.js
[open]
[-] matchMedia.js
[open]
[-] alpha-color-picker.js
[open]
[-] jquery.isotope.min.js
[open]
[-] main.js
[open]
[-] shop-woocommerce.js
[open]
[-] gmap3.min.js
[open]
[+]
admin
[-] jquery-waypoints.js
[open]
[-] smoothscroll.js
[open]
[-] jquery.easing.js
[open]
[-] jquery.fitvids.js
[open]