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%',
});
$('#assign-driver-select').select2({
width: '100%',
allowClear: true,
dropdownParent: $("#modal-asign-driver"),
});
$('#time_to_prepare_select').select2({
width: '100%',
allowClear: true,
dropdownParent: $("#modal-time-to-prepare"),
});
$('#addressID').select2({
width: '100%',
allowClear: true,
});
$('#new_address_checkout').select2({
dropdownParent: $("#modal-order-new-address"),
placeholder: "",
allowClear: true,
width: '100%',
ajax: {
url: '/new/address/autocomplete',
dataType: 'json',
data: function (params) {
return {
term: params.term,
page: params.page
};
},
processResults: function (data, params) {
params.page = params.page || 1;
return {
results: data.results,
pagination: {
more: (params.page * 10) < data.total
}
};
},
minimumInputLength: 3,
}
});
$('.select2').addClass('form-control');
$('.select2-selection').css('border','0');
$('.select2-selection').css('margin-bottom','10px');
$('.select2').css('padding-bottom','35px');
$('.select2-selection__arrow').css('top','10px');
$('.select2-selection__rendered').css('color','#8898aa');
});
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |