reverted r45509, as it causes an infinit recursion of set_value calling set_select_options calling set_value and so on

This commit is contained in:
Ralf Becker 2014-02-04 08:27:26 +00:00
parent b8b614220e
commit 3a618c23d9

View File

@ -94,10 +94,7 @@ var et2_selectbox = et2_inputWidget.extend(
this._super.apply(this, arguments);
this.input = null;
// If already provided, initialize value. Prevents it from being cleared
// in set_select_options.
this.value = this.options.value || "";
this.value = '';
// Allow no other widgets inside this one
this.supportedWidgetClasses = [];