mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'ent-3895-Pete-permisos-al-intentar-borrar-un-report-sin-seleccionar-ninguno-en-los-checkboxs' into 'develop'
Fixed bug in report deletions See merge request artica/pandorafms!2362
This commit is contained in:
commit
20cc562911
@ -1,4 +1,22 @@
|
|||||||
<script type="text/javascript">
|
<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() {
|
function check_all_checkboxes() {
|
||||||
if ($("input[name=all_delete]").prop("checked")) {
|
if ($("input[name=all_delete]").prop("checked")) {
|
||||||
$(".check_delete").prop("checked", true);
|
$(".check_delete").prop("checked", true);
|
||||||
@ -578,7 +596,7 @@ switch ($action) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! $delete) {
|
if (! $delete && !empty($type_access_selected)) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
'ACL Violation',
|
'ACL Violation',
|
||||||
'Trying to access report builder deletion'
|
'Trying to access report builder deletion'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user