mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
fixed javascript error "Can not set readonly property" in Safari, caused by wrong context
This commit is contained in:
parent
3cbf1d24fb
commit
b2c275436a
@ -83,7 +83,7 @@ var et2_dropdown_button = et2_inputWidget.extend(
|
||||
},
|
||||
// No such thing as a required button
|
||||
"required": {
|
||||
"ignore": true,
|
||||
"ignore": true
|
||||
}
|
||||
},
|
||||
|
||||
@ -130,7 +130,7 @@ var et2_dropdown_button = et2_inputWidget.extend(
|
||||
.hide()
|
||||
.menu({
|
||||
select: function(event,ui) {
|
||||
self.onselect(event,ui.item);
|
||||
self.onselect.call(self,event,ui.item);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -301,7 +301,7 @@ var et2_favorites = et2_dropdown_button.extend([et2_INextmatchHeader],
|
||||
set_value: function(filter_name, parent) {
|
||||
if(parent)
|
||||
{
|
||||
return this._super.apply(filter_name);
|
||||
return this._super.call(this, filter_name);
|
||||
}
|
||||
|
||||
if(filter_name == 'add') return false;
|
||||
|
Loading…
Reference in New Issue
Block a user