forked from extern/egroupware
After we find a match, no need to keep looking.
This commit is contained in:
parent
6f2a7ca40c
commit
d3c7e21144
@ -955,6 +955,7 @@ var et2_selectbox_ro = et2_selectbox.extend([et2_IDetachedDOM],
|
|||||||
{
|
{
|
||||||
this.span.text(label);
|
this.span.text(label);
|
||||||
if (typeof option == 'object' && option.title) this.set_statustext(option.title);
|
if (typeof option == 'object' && option.title) this.set_statustext(option.title);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -962,6 +963,7 @@ var et2_selectbox_ro = et2_selectbox.extend([et2_IDetachedDOM],
|
|||||||
.text(label)
|
.text(label)
|
||||||
.attr('data-value', _value[i])
|
.attr('data-value', _value[i])
|
||||||
.appendTo(this.span);
|
.appendTo(this.span);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user