Addressbook: Avoid error if n_fn is not in popup template

This commit is contained in:
nathan 2023-11-06 15:12:43 -07:00
parent fe68cdb1b6
commit a93146c1cb

View File

@ -1325,9 +1325,16 @@ class AddressbookApp extends EgwApp
* @returns {string} * @returns {string}
*/ */
getWindowTitle() getWindowTitle()
{
try
{ {
return this.et2.getValueById('n_fn'); return this.et2.getValueById('n_fn');
} }
catch(e)
{
return "";
}
}
/** /**
* Enable/Disable geolocation action items in contextmenu base on address availabilty * Enable/Disable geolocation action items in contextmenu base on address availabilty