Skip to content
Snippets Groups Projects
Commit 4cec61a9 authored by Simon Leipold's avatar Simon Leipold
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1053804][PermissionDetail: Save-Button falsch gesteuert]

parent 2ba1f5d8
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,10 @@ for each (let row in insertedRows) {
}
}
if (deletedRows.length == actionsAsStringArray.length && changedRows.length == 0 && insertedRows.length == 0) {
if (
(deletedRows.length == actionsAsStringArray.length && changedRows.length == 0 && insertedRows.length == 0)
|| (deletedRows.length == 0 && changedRows.length == 0 && insertedRows.length == 0)
) {
result.string(translate.text("Permissions without actions are invalid!"));
}
......
import("system.logging");
import("Sql_lib");
import("Permission_lib");
import("system.neon");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment