Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/ecom1.picotech.app/public_html_ecom1/public/dist/js/custom/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
$("#exported_column").select2({
placeholder: jsLang('Export all columns'),
});
$("#product_types").select2({
placeholder: jsLang('Export all products'),
});
$("#categories").select2({
placeholder: jsLang('Export all categories'),
});
$("#vendors").select2({
placeholder: jsLang('Export all vendors'),
});
$(document).on('change', '#product_types', function() {
hideCategory();
});
/*hide category if product type has variation*/
function hideCategory()
{
let productTypes = $('#product_types').val();
$.each(productTypes, function (i, v){
if (v == 'Variation') {
$('#category_div').addClass('display_none');
} else {
$('#category_div').removeClass('display_none');
}
});
}
$("#export").on("click",function(){
setTimeout(() => {
$(".spinner-border").remove();
$(this).removeClass('disabled-btn');
$('#export').append(`<i class="feather icon-upload-cloud m-0 ms-2"></i>`)
}, 1000);
});
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]-- |