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 d0d9d6705f
commit 53551970fe

View File

@ -1323,9 +1323,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