Fixed bug in report deletions

Former-commit-id: 1ef6173b079d88316c248f1f3cdaa47290ed6212
This commit is contained in:
manuel 2019-04-17 09:07:12 +02:00
parent ff5a33ba2c
commit 68b69d66c4

View File

@ -1,5 +1,22 @@
<script type="text/javascript">
function dialog_message(message_id) {
$(message_id)
.css("display", "inline")
.dialog({
modal: true,
show: "blind",
hide: "blind",
width: "400px",
buttons: {
Close: function() {
$(this).dialog("close");
}
}
});
}
function check_all_checkboxes() {
if ($("input[name=all_delete]").prop("checked")) {
$(".check_delete").prop("checked", true);
@ -532,7 +549,7 @@ switch ($action) {
break;
}
if (! $delete) {
if (! $delete && !empty($type_access_selected)) {
db_pandora_audit(
'ACL Violation',
'Trying to access report builder deletion'