| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/options.js.tar |
home/xbodynamge/crosstraining/wp-content/plugins/tablepress/admin/js/options.js 0000604 00000002171 15112755453 0024203 0 ustar 00 /**
* JavaScript code for the "Options" screen, without the CodeMirror handling
*
* @package TablePress
* @subpackage Views JavaScript
* @author Tobias Bäthge
* @since 1.0.0
*/
/* global confirm, tablepress_strings */
jQuery( document ).ready( function( $ ) {
'use strict';
/**
* Enable/disable the regular textarea according to state of "Load Custom CSS" checkbox.
*
* @since 1.0.0
*/
$( '#option-use-custom-css' ).on( 'change', function() {
$( '#option-custom-css' ).prop( 'disabled', ! $(this).prop( 'checked' ) );
} ).change();
/**
* On form submit: Enable disabled fields, so that they are transmitted in the POST request.
*
* @since 1.0.0
*/
$( '#tablepress-page' ).on( 'submit', 'form', function() {
$(this).find( 'input, select, textarea' ).prop( 'disabled', false );
} );
/**
* Require double confirmation when wanting to uninstall TablePress.
*
* @since 1.0.0
*/
$( '#uninstall-tablepress' ).on( 'click', function() {
if ( confirm( tablepress_strings.uninstall_warning_1 ) ) {
return confirm( tablepress_strings.uninstall_warning_2 );
} else {
return false;
}
} );
} );
home/xbodynamge/www/wp-content/plugins/tablepress/admin/js/options.js 0000644 00000002171 15113047354 0022141 0 ustar 00 /**
* JavaScript code for the "Options" screen, without the CodeMirror handling
*
* @package TablePress
* @subpackage Views JavaScript
* @author Tobias Bäthge
* @since 1.0.0
*/
/* global confirm, tablepress_strings */
jQuery( document ).ready( function( $ ) {
'use strict';
/**
* Enable/disable the regular textarea according to state of "Load Custom CSS" checkbox.
*
* @since 1.0.0
*/
$( '#option-use-custom-css' ).on( 'change', function() {
$( '#option-custom-css' ).prop( 'disabled', ! $(this).prop( 'checked' ) );
} ).change();
/**
* On form submit: Enable disabled fields, so that they are transmitted in the POST request.
*
* @since 1.0.0
*/
$( '#tablepress-page' ).on( 'submit', 'form', function() {
$(this).find( 'input, select, textarea' ).prop( 'disabled', false );
} );
/**
* Require double confirmation when wanting to uninstall TablePress.
*
* @since 1.0.0
*/
$( '#uninstall-tablepress' ).on( 'click', function() {
if ( confirm( tablepress_strings.uninstall_warning_1 ) ) {
return confirm( tablepress_strings.uninstall_warning_2 );
} else {
return false;
}
} );
} );
home/xbodynamge/lebauwcentre/wp-content/plugins/tablepress/admin/js/options.js 0000644 00000002171 15113053005 0023763 0 ustar 00 /**
* JavaScript code for the "Options" screen, without the CodeMirror handling
*
* @package TablePress
* @subpackage Views JavaScript
* @author Tobias Bäthge
* @since 1.0.0
*/
/* global confirm, tablepress_strings */
jQuery( document ).ready( function( $ ) {
'use strict';
/**
* Enable/disable the regular textarea according to state of "Load Custom CSS" checkbox.
*
* @since 1.0.0
*/
$( '#option-use-custom-css' ).on( 'change', function() {
$( '#option-custom-css' ).prop( 'disabled', ! $(this).prop( 'checked' ) );
} ).change();
/**
* On form submit: Enable disabled fields, so that they are transmitted in the POST request.
*
* @since 1.0.0
*/
$( '#tablepress-page' ).on( 'submit', 'form', function() {
$(this).find( 'input, select, textarea' ).prop( 'disabled', false );
} );
/**
* Require double confirmation when wanting to uninstall TablePress.
*
* @since 1.0.0
*/
$( '#uninstall-tablepress' ).on( 'click', function() {
if ( confirm( tablepress_strings.uninstall_warning_1 ) ) {
return confirm( tablepress_strings.uninstall_warning_2 );
} else {
return false;
}
} );
} );
home/xbodynamge/namtation/wp-content/plugins/tablepress/admin/js/options.js 0000644 00000002171 15113447373 0023314 0 ustar 00 /**
* JavaScript code for the "Options" screen, without the CodeMirror handling
*
* @package TablePress
* @subpackage Views JavaScript
* @author Tobias Bäthge
* @since 1.0.0
*/
/* global confirm, tablepress_strings */
jQuery( document ).ready( function( $ ) {
'use strict';
/**
* Enable/disable the regular textarea according to state of "Load Custom CSS" checkbox.
*
* @since 1.0.0
*/
$( '#option-use-custom-css' ).on( 'change', function() {
$( '#option-custom-css' ).prop( 'disabled', ! $(this).prop( 'checked' ) );
} ).change();
/**
* On form submit: Enable disabled fields, so that they are transmitted in the POST request.
*
* @since 1.0.0
*/
$( '#tablepress-page' ).on( 'submit', 'form', function() {
$(this).find( 'input, select, textarea' ).prop( 'disabled', false );
} );
/**
* Require double confirmation when wanting to uninstall TablePress.
*
* @since 1.0.0
*/
$( '#uninstall-tablepress' ).on( 'click', function() {
if ( confirm( tablepress_strings.uninstall_warning_1 ) ) {
return confirm( tablepress_strings.uninstall_warning_2 );
} else {
return false;
}
} );
} );
home/xbodynamge/dev/wp-content/plugins/tablepress/admin/js/options.js 0000644 00000002171 15114274515 0022075 0 ustar 00 /**
* JavaScript code for the "Options" screen, without the CodeMirror handling
*
* @package TablePress
* @subpackage Views JavaScript
* @author Tobias Bäthge
* @since 1.0.0
*/
/* global confirm, tablepress_strings */
jQuery( document ).ready( function( $ ) {
'use strict';
/**
* Enable/disable the regular textarea according to state of "Load Custom CSS" checkbox.
*
* @since 1.0.0
*/
$( '#option-use-custom-css' ).on( 'change', function() {
$( '#option-custom-css' ).prop( 'disabled', ! $(this).prop( 'checked' ) );
} ).change();
/**
* On form submit: Enable disabled fields, so that they are transmitted in the POST request.
*
* @since 1.0.0
*/
$( '#tablepress-page' ).on( 'submit', 'form', function() {
$(this).find( 'input, select, textarea' ).prop( 'disabled', false );
} );
/**
* Require double confirmation when wanting to uninstall TablePress.
*
* @since 1.0.0
*/
$( '#uninstall-tablepress' ).on( 'click', function() {
if ( confirm( tablepress_strings.uninstall_warning_1 ) ) {
return confirm( tablepress_strings.uninstall_warning_2 );
} else {
return false;
}
} );
} );