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";
if ($('.main-body .page-wrapper').find('#review-list-container, #vendor-review-list-container').length) {
$("#edit-unit").on("show.bs.modal", function () {
$("#edit_status, #is_public, #review_id").removeClass("error");
$("#edit_status-error, #edit_status-error, #edit_status-error").hide();
});
$(document).on('click', '.edit_review', function () {
var id = $(this).data("id");
var url = "/reviews/edit"
$.ajax({
url: SITE_URL + url,
data: {
id: id,
"_token": token
},
type: 'POST',
dataType: 'JSON',
success: function (data) {
$('#edit_status').val(data.status);
$('#is_public').val(data.is_public);
$('#review_id').val(data.id);
$('#edit-review').modal();
}
});
});
}
if ($('.main-body .page-wrapper').find('#review-list-container').length) {
// For export csv
$(document).on("click", "#csv, #pdf", function(event) {
event.preventDefault();
window.location = SITE_URL + "/reviews/" + this.id;
});
}
if ($('.main-body .page-wrapper').find('#vendor-review-list-container').length) {
// For export csv
$(document).on("click", "#csv, #pdf", function(event) {
event.preventDefault();
window.location = SITE_URL + "/reviews/" + this.id;
});
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0036 ]-- |