Fix typo breaking selectbox options

This commit is contained in:
Nathan Gray 2011-08-17 21:32:38 +00:00
parent ba5fee777c
commit c409e8d73e

View File

@ -103,13 +103,13 @@ var et2_selectbox = et2_inputWidget.extend({
if(_options == null) {
var mgr = this.getArrayMgr('sel_options');
if(mgr) {
options = mgr.getValueForID(this.id);
_options = mgr.getValueForID(this.id);
}
if(options == null) {
if(_options == null) {
// Check in the content
var mgr = this.getArrayMgr('content');
if(mgr) {
options = mgr.getValueForID('options-'+this.id);
_options = mgr.getValueForID('options-'+this.id);
}
}
}