mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 17:48:56 +01:00
If value is available in init, keep it so it doesn't get cleared by set_select_options()
Fixes missing organization name
This commit is contained in:
parent
327123a588
commit
cffa002dde
@ -94,7 +94,10 @@ var et2_selectbox = et2_inputWidget.extend(
|
|||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
|
||||||
this.input = null;
|
this.input = null;
|
||||||
this.value = '';
|
|
||||||
|
// If already provided, initialize value. Prevents it from being cleared
|
||||||
|
// in set_select_options.
|
||||||
|
this.value = this.options.value || "";
|
||||||
|
|
||||||
// Allow no other widgets inside this one
|
// Allow no other widgets inside this one
|
||||||
this.supportedWidgetClasses = [];
|
this.supportedWidgetClasses = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user