From b1f7f190a45ac18e86cf8064459cc4fab9df85a9 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 19 Jan 2016 10:25:34 -0500 Subject: [PATCH] fix firefox image editor --- dashboard-ui/components/paperdialoghelper.js | 4 ++-- dashboard-ui/scripts/site.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard-ui/components/paperdialoghelper.js b/dashboard-ui/components/paperdialoghelper.js index 514729587b..00ce17a038 100644 --- a/dashboard-ui/components/paperdialoghelper.js +++ b/dashboard-ui/components/paperdialoghelper.js @@ -102,9 +102,9 @@ // but not needed here since this is already on top of an existing dialog // but skip it in IE because it's causing the entire browser to hang // Also have to disable for firefox because it's causing select elements to not be clickable - if (!browserInfo.msie && !browserInfo.mozilla) { + if (!browserInfo.msie && !browserInfo.firefox) { if (options.modal !== false) { - dlg.setAttribute('modal', 'modal'); + //dlg.setAttribute('modal', 'modal'); } } diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index fd29c29ea1..5868c62238 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -2347,7 +2347,7 @@ var AppInfo = {}; deviceName = "Chrome"; } else if (browserInfo.edge) { deviceName = "Edge"; - } else if (browserInfo.mozilla) { + } else if (browserInfo.firefox) { deviceName = "Firefox"; } else if (browserInfo.msie) { deviceName = "Internet Explorer";