quite some warning

This commit is contained in:
Ralf Becker 2013-10-07 16:11:25 +00:00
parent 74b869640c
commit b7d6d4266e

View File

@ -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;