403Webshell
Server IP : 104.171.130.249  /  Your IP : 216.73.216.146
Web Server : nginx/1.25.5
System : Linux 0dac65491b7e 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/woocommerce/assets/js/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/woocommerce/assets/js/admin/wc-customer-stock-notifications.js
/* global wc_admin_customer_stock_notifications_params, woocommerce_admin_meta_boxes */
;( function( $, window ) {

	/**
	 * Document ready.
	 */
	$( function() {

		// Delete confirmations.
		$( '.woocommerce-customer-stock-notification #delete-action' ).on( 'click', function( e ) {
			if ( ! window.confirm( wc_admin_customer_stock_notifications_params.i18n_wc_delete_notification_warning ) ) {
				e.preventDefault();
				return false;
			}
		} );

		$( '#customer-stock-notifications-table #doaction' ).on( 'click', function( e ) {

			var value = $( '#bulk-action-selector-top' ).val();

			if ( value === 'delete'
				&& ! window.confirm( wc_admin_customer_stock_notifications_params.i18n_wc_bulk_delete_notifications_warning ) ) {
				e.preventDefault();
				return false;
			}
		} );

		$( '#customer-stock-notifications-table .column-id .row-actions .delete a' ).on( 'click', function( e ) {
			if ( ! window.confirm( wc_admin_customer_stock_notifications_params.i18n_wc_delete_notification_warning ) ) {
				e.preventDefault();
				return false;
			}
		} );

		$( '.postbox li #delete-action .submitdelete' ).on( 'click', function( e ) {
			if ( ! window.confirm( wc_admin_customer_stock_notifications_params.i18n_wc_delete_notification_warning ) ) {
				e.preventDefault();
				return false;
			}
		} );

		$( 'input#woocommerce_customer_stock_notifications_require_double_opt_in' )
			.on( 'change', function () {
				if ( $( this ).is( ':checked' ) ) {
					$( this ).closest( 'tr' ).next( 'tr' ).show();
				} else {
					$( this ).closest( 'tr' ).next( 'tr' ).hide();
				}
			} )
			.trigger( 'change' );
	} );
} )( jQuery, window );

Youez - 2016 - github.com/yon3zu
LinuXploit