PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
themes
/
deep
/
inc
/
core
/
admin
/
meta-box
/
meta-box-core
/
js
jQuery( function ( $ ) { 'use strict'; var rules = { invalidHandler: function () { // Re-enable the submit ( publish/update ) button and hide the ajax indicator $( '#publish' ).removeClass( 'button-primary-disabled' ); $( '#ajax-loading' ).attr( 'style', '' ); $form.siblings( '#message' ).remove(); $form.before( '<div id="message" class="error"><p>' + rwmbValidate.summaryMessage + '</p></div>' ); }, ignore: ':not([class|="rwmb"])', errorPlacement: function(error, element) { error.appendTo( element.closest( '.rwmb-input' ) ); }, errorClass: 'rwmb-error', errorElement: 'p' }; // Edit post form. var $form = $( '#post, .rwmb-form' ); // Edit user form. if ( ! $form.length ) { $form = $( '#your-profile' ); } // Edit term form. if ( ! $form.length ) { $form = $( '#edittag' ); } // Gather all validation rules. $( '.rwmb-validation-rules' ).each( function () { var subRules = $( this ).data( 'rules' ); $.extend( true, rules, subRules ); // Required field styling $.each( subRules.rules, function ( k, v ) { if ( v['required'] ) { $( '#' + k ).parent().siblings( '.rwmb-label' ).append( '<span class="rwmb-required">*</span>' ); } } ); } ); // Execute. $form.validate( rules ); } );
[+]
..
[-] select-advanced.js
[edit]
[-] file-upload.js
[edit]
[-] media.js
[edit]
[-] datetime.js
[edit]
[-] image-advanced.js
[edit]
[+]
wp-color-picker-alpha
[+]
jqueryui
[-] map-frontend.js
[edit]
[-] color.js
[edit]
[+]
select2
[-] wysiwyg.js
[edit]
[-] input-list.js
[edit]
[-] slider.js
[edit]
[-] osm.js
[edit]
[-] map.js
[edit]
[-] oembed.js
[edit]
[-] validate.js
[edit]
[-] file.js
[edit]
[-] osm-frontend.js
[edit]
[-] image-upload.js
[edit]
[-] range.js
[edit]
[-] image-select.js
[edit]
[-] select-tree.js
[edit]
[-] file-input.js
[edit]
[-] clone.js
[edit]
[-] video.js
[edit]
[-] select.js
[edit]
[-] autocomplete.js
[edit]
[-] autosave.js
[edit]
[+]
jquery-validation
[-] time.js
[edit]
[-] date.js
[edit]
[-] button-group.js
[edit]