mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:48:40 +01:00
Handle captions on selectboxes with no label by using the empty option
This commit is contained in:
parent
2f9118779b
commit
8c77cb1bcb
@ -257,13 +257,14 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], {
|
||||
if(typeof _widget._genColumnCaption == "function") return _widget._genColumnCaption();
|
||||
|
||||
_widget.iterateOver(function(_widget) {
|
||||
var label = (_widget.options.label ? _widget.options.label : _widget.options.empty_label);
|
||||
if (!result)
|
||||
{
|
||||
result = _widget.options.label;
|
||||
result = label;
|
||||
}
|
||||
else
|
||||
{
|
||||
result += ", " + _widget.options.label;
|
||||
result += ", " + label;
|
||||
}
|
||||
}, this, et2_INextmatchHeader);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user