mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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;
|
||||
|
||||
// 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'));
|
||||
ok = false;
|
||||
|
Loading…
Reference in New Issue
Block a user