From f6f301c1e079b415dd886924527cefc17e4315b5 Mon Sep 17 00:00:00 2001 From: JR Maitre Date: Wed, 25 Oct 2017 10:26:01 -0700 Subject: [PATCH] UI-2942: fix issue with empty faxbox notifications --- submodules/strategy/strategy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/strategy/strategy.js b/submodules/strategy/strategy.js index 87e7c7a..e5fb954 100644 --- a/submodules/strategy/strategy.js +++ b/submodules/strategy/strategy.js @@ -1345,7 +1345,7 @@ define(function(require) { }, success: function(faxbox) { var template = $(monster.template(self, 'strategy-popupEditFaxbox', { - email: faxbox.notifications.inbound.email.send_to + email: faxbox.hasOwnProperty('notifications') && faxbox.notifications.hasOwnProperty('inbound') && faxbox.notifications.inbound.hasOwnProperty('email') ? faxbox.notifications.inbound.email.send_to : '' })), popup = monster.ui.dialog(template, { title: self.i18n.active().strategy.popupEditFaxbox.titles.edit,