mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Add a comment for why starting at '' - avoids infinite loops in set_value() / set_select_options()
This commit is contained in:
parent
0af573a3e1
commit
565ead7288
@ -94,6 +94,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
|||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
|
|
||||||
this.input = null;
|
this.input = null;
|
||||||
|
// Start at '' to avoid infinite loops while setting value/select options
|
||||||
this.value = '';
|
this.value = '';
|
||||||
|
|
||||||
// Allow no other widgets inside this one
|
// Allow no other widgets inside this one
|
||||||
|
Loading…
Reference in New Issue
Block a user