mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Avoid replacing an option that has been labeled while waiting for the response by checking to see if it is unchanged first.
This commit is contained in:
parent
8686238878
commit
5b65b12b1e
@ -288,7 +288,7 @@ var et2_selectAccount = et2_selectbox.extend(
|
|||||||
for(var i = 0; i < this.widget.options.select_options.length; i++)
|
for(var i = 0; i < this.widget.options.select_options.length; i++)
|
||||||
{
|
{
|
||||||
var opt = this.widget.options.select_options[i];
|
var opt = this.widget.options.select_options[i];
|
||||||
if(opt && opt.value && opt.value == this.unknown)
|
if(opt && opt.value && opt.value == this.unknown && opt.label == this.unknown)
|
||||||
{
|
{
|
||||||
opt.label = name;
|
opt.label = name;
|
||||||
this.widget.set_select_options(this.widget.options.select_options);
|
this.widget.set_select_options(this.widget.options.select_options);
|
||||||
|
Loading…
Reference in New Issue
Block a user