From c409e8d73eb50d81d1c530b70f5a572a4491c1ed Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 17 Aug 2011 21:32:38 +0000 Subject: [PATCH] Fix typo breaking selectbox options --- etemplate/js/et2_selectbox.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etemplate/js/et2_selectbox.js b/etemplate/js/et2_selectbox.js index 2db451c2fd..9df678b1f2 100644 --- a/etemplate/js/et2_selectbox.js +++ b/etemplate/js/et2_selectbox.js @@ -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); } } }