From a7660a5825d5e384ff182402aec57b602ba446c6 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 26 Jul 2017 07:50:36 +0200 Subject: [PATCH] take out check for value in value set This check is being done by the validation already --- views/bootstrap/class.AttributeMgr.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/bootstrap/class.AttributeMgr.php b/views/bootstrap/class.AttributeMgr.php index a7ac3382e..5acf0d580 100644 --- a/views/bootstrap/class.AttributeMgr.php +++ b/views/bootstrap/class.AttributeMgr.php @@ -90,12 +90,14 @@ $(document).ready( function() { $content .= getAttributeValidationText($selattrdef->getValidationError(), $selattrdef->getName(), $entry['value'], $selattrdef->getRegex()); } /* Check if value is in value set */ + /* if($selattrdef->getValueSet()) { foreach($value as $v) { if(!in_array($v, $selattrdef->getValueSetAsArray())) $content .= getMLText("attribute_value_not_in_valueset"); } } + */ $content .= ""; $content .= ""; }