Add set_value() so selectbox can show current value

This commit is contained in:
Nathan Gray
2011-09-26 16:01:42 +00:00
parent db3f408f18
commit 29501fc027
4 changed files with 61 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ var et2_inputWidget = et2_valueWidget.extend(et2_IInput, {
this._super.apply(this, arguments);
// Check whether an validation error entry exists
if (this.id)
if (this.id && this.getArrayMgr("validation_errors"))
{
var val = this.getArrayMgr("validation_errors").getEntry(this.id);
if (val)