mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
quite some warning
This commit is contained in:
parent
74b869640c
commit
b7d6d4266e
@ -258,7 +258,7 @@ var et2_inputWidget = et2_valueWidget.extend([et2_IInput,et2_ISubmitListener],
|
|||||||
var ok = true;
|
var ok = true;
|
||||||
|
|
||||||
// Check for required
|
// Check for required
|
||||||
if(this.options.needed && !this.options.readonly && (this.getValue() == null || this.getValue().valueOf() == ''))
|
if(this.options && this.options.needed && !this.options.readonly && (this.getValue() == null || this.getValue().valueOf() == ''))
|
||||||
{
|
{
|
||||||
messages.push(this.egw().lang('input required'));
|
messages.push(this.egw().lang('input required'));
|
||||||
ok = false;
|
ok = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user