Browse Source

IE11/Edge fix for iframe mode detection.

pull/571/head
Igor Kulikov 8 years ago
parent
commit
f6da85e9ae
  1. 8
      ui/src/app/app.run.js

8
ui/src/app/app.run.js

@ -20,7 +20,13 @@ import UrlHandler from './url.handler';
export default function AppRun($rootScope, $window, $injector, $location, $log, $state, $mdDialog, $filter, loginService, userService, $translate) {
$window.Flow = Flow;
var frame = $window.frameElement;
var frame = null;
try {
frame = $window.frameElement;
} catch(e) {
// ie11 fix
}
var unauthorizedDialog = null;
var forbiddenDialog = null;

Loading…
Cancel
Save