mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Make sure group is there before trying to set its value
This commit is contained in:
parent
d99b52d48f
commit
c771f2fc80
@ -514,7 +514,10 @@ var AppJS = Class.extend(
|
||||
$j(this).dialog("close");
|
||||
};
|
||||
buttons[this.egw.lang("cancel")] = function() {
|
||||
self.favorite_popup.group.set_value(null);
|
||||
if(typeof self.favorite_popup.group !== 'undefined' && self.favorite_popup.group.set_value)
|
||||
{
|
||||
self.favorite_popup.group.set_value(null);
|
||||
}
|
||||
$j(this).dialog("close");
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user