Reports - final version (#418)

* remove device config at log

* ...

* update ui
This commit is contained in:
brindosch
2017-03-18 00:05:04 +01:00
committed by redPanther
parent a20e073bbd
commit 9a0e1daf7b
22 changed files with 128 additions and 66 deletions

View File

@@ -235,9 +235,16 @@ function valValue(id,value,min,max)
if(typeof max === 'undefined' || max == "")
max = 999999;
if(value > max || value < min)
if(value > max)
{
$('#'+id).val(max);
showInfoDialog("warning","",$.i18n('edt_msg_error_maximum_incl',max));
return max;
}
else if(value < min)
{
$('#'+id).val(min);
showInfoDialog("warning","",$.i18n('edt_msg_error_minimum_incl',min));
return min;
}
return value;