From be88683c19d2cce1df0b810fc821dfbc873ce228 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 20 Jul 2015 10:14:55 +0200 Subject: [PATCH] layout.phtml: Add hidden iframe for non-xhr file uploads refs #8758 --- application/layouts/scripts/layout.phtml | 1 + public/css/icinga/layout-structure.less | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml index cbfce7714..1d766b505 100644 --- a/application/layouts/scripts/layout.phtml +++ b/application/layouts/scripts/layout.phtml @@ -54,6 +54,7 @@ $iframeClass = $isIframe ? ' iframe' : '';
render('body.phtml') ?>
+ diff --git a/public/css/icinga/layout-structure.less b/public/css/icinga/layout-structure.less index 2b4228b5f..3f9d4858e 100644 --- a/public/css/icinga/layout-structure.less +++ b/public/css/icinga/layout-structure.less @@ -47,6 +47,10 @@ html { } } +#fileupload-frame-target { + display: none; +} + #responsive-debug { font-size: 0.9em; font-family: Courier new, monospace;