From 48bfcc114e402b2a3958fc7e6dfcd192fc784e5d Mon Sep 17 00:00:00 2001 From: tukey42 Date: Tue, 9 Apr 2024 13:27:51 +0200 Subject: [PATCH] disable validator for program name temporarily --- admin/jsonConfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/jsonConfig.json b/admin/jsonConfig.json index 4dc2ba5..a39d158 100644 --- a/admin/jsonConfig.json +++ b/admin/jsonConfig.json @@ -130,11 +130,11 @@ "width": "8% ", "trim": false, "title": "Programmname", - "tooltip": "eindeutiger Name des Programms", + "tooltip": "eindeutiger Name des Programms (aktuell Mehrfachangabe notwendig)", "filter": false, "sort": false, "default": "", - "Xvalidator": "const x={};for (const c of globalData.programs) {if (x[c.name]==='x') return false; x[c.name]='x';}; return true;", + "validator": "const x={};for (const c of globalData.programs) {if (x[c.name]==='x') return true; x[c.name]='x';}; return true;", "validatorNoSaveOnError": true }, {