PATH:
home
/
lab2454c
/
adenbic.com
/
wp-content
/
plugins
/
TemplatemelaMetaBox
/
js
jQuery( function( $ ) { $( 'body' ).on( 'click', '.rwmb-thickbox-upload', function() { var $this = $( this ), $holder = $this.siblings( '.rwmb-images' ), post_id = $( '#post_ID' ).val(), field_id = $this.data( 'field_id' ), backup = window.send_to_editor; window.send_to_editor = function( html ) { var $img = $( '<div />' ).append( html ).find( 'img' ), url = $img.attr( 'src' ), img_class = $img.attr( 'class' ), id = parseInt( img_class.replace( /\D/g, '' ), 10 ); html = '<li id="item_' + id + '">'; html += '<img src="' + url + '">'; html += '<div class="rwmb-image-bar">'; html += '<a class="rwmb-delete-file" href="#" data-attachment_id="' + id + '">×</a>'; html += '</div>'; html += '<input type="hidden" name="' + field_id + '[]" value="' + id + '">'; html += '</li>'; $holder.append( $( html ) ).removeClass( 'hidden' ); tb_remove(); window.send_to_editor = backup; } tb_show( '', 'media-upload.php?post_id=' + post_id + '&TB_iframe=true' ); return false; } ); } );
[-] jquery.validate.min.js
[edit]
[-] oembed.js
[edit]
[-] taxonomy.js
[edit]
[-] slider.js
[edit]
[-] image-select.js
[edit]
[+]
..
[-] image-advanced.js
[edit]
[-] date.js
[edit]
[-] autosave.js
[edit]
[-] time.js
[edit]
[-] select-advanced.js
[edit]
[+]
jqueryui
[-] plupload-image.js
[edit]
[+]
select2
[-] thickbox-image.js
[edit]
[-] color.js
[edit]
[-] map.js
[edit]
[-] file-input.js
[edit]
[-] image.js
[edit]
[-] validate.js
[edit]
[-] datetime.js
[edit]
[-] file-advanced.js
[edit]
[-] file.js
[edit]
[-] clone.js
[edit]