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/wataxi.picotech.app/public_html/public/custom/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
$(document).ready(function() {
$('.select2').select2({
width: '100%',
});
$('.select2').addClass('form-control');
$('.select2-selection').css('border','0');
$('.select2-selection__arrow').css('top','10px');
$('.select2-selection__rendered').css('color','#8898aa');
//pages links
$(".showAsLink").on('change', function() {
var value;
if ($(this).is(':checked')) { value = 1 } else { value = 0 }
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});
$.ajax({
type:'POST',
url: '/change/'+$(this).attr("pageid"),
dataType: 'json',
data: { value: value},
success:function(response){
if(response.status){
$(this).attr("checked");
}
}, error: function (response) {
}
})
});
$('#btn-submit-time-prepare').hide()
//modal time to prepare buttons
$(".btn-time-to-prepare").on("click",function(){
$(".btn-time-to-prepare").removeClass("active");
$(this).addClass("active");
$("#time_to_prepare").val(parseInt($(this).attr('value')));
$('#btn-submit-time-prepare').show()
});
});
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]-- |