Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/dokan/assets/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: (function ($) {
"use strict";
$('.add_new_row').on('click',function(){
var id= $(this).data('id');
$('#row_id').val(id);
});
$('.option_delete').on('click',function(){
var id= $(this).data('id');
Swal.fire({
title: 'Are you sure?',
text: "You won't be able to revert this!",
icon: 'warning',
showCancelButton: true,
confirmButtonColor: '#3085d6',
cancelButtonColor: '#d33',
confirmButtonText: 'Yes, Do It!'
}).then((result) => {
if (result.value == true) {
$('#option_id').val(id);
$('.option'+id).remove();
$('.delete_from').submit();
}
})
});
$('.row_edit').on('click',function(){
var name=$(this).data('name');
var is_required=$(this).data('required');
var id=$(this).data('id');
var select_type=$(this).data('selecttype');
$('#edit_name').val(name);
$('#edit_id').val(id);
if(is_required == 1){
$('#edit_required').attr('checked','');
}
else{
$('#edit_required').removeAttr('checked')
}
$('#edit_id').val(id);
$('#edit_select').val(select_type);
});
$('.row_update_form').on('submit',function() {
var name=$('#edit_name').val();
var id=$('#edit_id').val();
$('#option_name'+id).text(name);
});
})(jQuery); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0042 ]-- |