mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 11:38:02 +02:00
- Clean up some link sub-widgets to make them operate a little nicer / more consistently
- Check attrs for already existing select_options too, should speed up selectboxes a little more
This commit is contained in:
@ -145,7 +145,9 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
// If select_options are already known, skip the rest
|
||||
if(this.options && this.options.select_options && !jQuery.isEmptyObject(this.options.select_options))
|
||||
if(this.options && this.options.select_options && !jQuery.isEmptyObject(this.options.select_options) ||
|
||||
_attrs.select_options && !jQuery.isEmptyObject(_attrs.select_options)
|
||||
)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user