mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-12 04:28:35 +02:00
Fixed bug in report deletions
Former-commit-id: 1ef6173b079d88316c248f1f3cdaa47290ed6212
This commit is contained in:
parent
ff5a33ba2c
commit
68b69d66c4
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user