| Server IP : 5.129.245.98 / Your IP : 216.73.217.19 Web Server : Apache/2.4.66 (Debian) System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/plugins/content-egg/res/js/ |
Upload File : |
"use strict";
jQuery(document).ready(function ($) {
$(".content-egg-delete").on("click", function () {
if (!confirm(contenteggL10n.are_you_shure)) {
return false;
}
});
$("#doaction, #doaction2").on("click", function () {
var bulk_action,
confirm_message,
num_selected = $(".content-egg-all-tables")
.find("tbody")
.find("input:checked").length;
if (this.id === "doaction") bulk_action = "top";
else bulk_action = "bottom";
if ($("#bulk-action-" + bulk_action).val() === "-1") return false;
if (num_selected === 0) return false;
if ($("select[name=action]").val() === "delete") {
if (num_selected === 1) confirm_message = contenteggL10n.are_you_shure;
else confirm_message = contenteggL10n.are_you_shure;
if (!confirm(confirm_message)) {
return false;
}
}
});
});