Fixed not saving baufreigabe when no permission

This commit is contained in:
Frank Schubert
2024-01-30 18:17:10 +01:00
parent 9feb1c5fdf
commit 17e2f87c20
2 changed files with 8 additions and 4 deletions
+7 -3
View File
@@ -152,7 +152,7 @@
foreach($terminations as $term): ?>
<?php if($bcount > 0): ?>
<tr id="termination-<?=$term->id?>-top-header" class="hidden">
<tr id="termination-<?=$term->id?>-top-header" class="hidden" data-last-save="<?=$term->edit?>">
<th>Anschluss</th>
<th>Tiefbau</th>
<th>Patch-/Kabeldaten</th>
@@ -590,6 +590,10 @@ function togglePipework(id) {
}
function validateWorkflowItem(id) {
// disable saving if timestamp changed
var required_fields = {
pop_id: "int",
schrank: "string",
@@ -688,8 +692,8 @@ function validateWorkflowItem(id) {
}
return true;
}
var export_uid = "";
var export_progress = 0;
var downloadUrl;