PATH:
home
/
letacommog
/
supportleta
/
wp-content
/
themes
/
easyweb
/
inc
/
meta-box
/
js
jQuery( function ( $ ) { 'use strict'; /** * Update color picker element * Used for static & dynamic added elements (when clone) */ function update() { var $this = $( this ), $container = $this.closest( '.rwmb-color-clone' ), data = $.extend( { change: function() { $( this ).trigger( 'color:change' ); }, clear: function() { $( this ).trigger( 'color:clear' ); } }, $this.data( 'options' ) ); // Clone doesn't have input for color picker, we have to add the input and remove the color picker container if ( $container.length > 0 ) { $this.appendTo( $container ).siblings( '.wp-picker-container' ).remove(); } // Show color picker $this.wpColorPicker( data ); } $( ':input.rwmb-color' ).each( update ); $( '.rwmb-input' ).on( 'clone', 'input.rwmb-color', update ); } );
[+]
..
[-] image-upload.js
[edit]
[-] image-advanced.js
[edit]
[-] thickbox-image.js
[edit]
[-] file-upload.js
[edit]
[-] wysiwyg.js
[edit]
[-] input-list.js
[edit]
[-] validate.js
[edit]
[-] jquery.validate.min.js
[edit]
[-] time.js
[edit]
[-] media.js
[edit]
[-] date.js
[edit]
[-] map-frontend.js
[edit]
[-] select.js
[edit]
[-] map.js
[edit]
[+]
jqueryui
[-] datetime.js
[edit]
[-] color.js
[edit]
[-] image.js
[edit]
[-] select-tree.js
[edit]
[+]
select2
[-] file-input.js
[edit]
[-] autosave.js
[edit]
[-] autocomplete.js
[edit]
[-] file.js
[edit]
[-] range.js
[edit]
[-] select-advanced.js
[edit]
[-] oembed.js
[edit]
[-] clone.js
[edit]
[-] slider.js
[edit]
[-] image-select.js
[edit]