Vojtech Szocs has submitted this change and it was merged.

Change subject: webadmin,userportal: Use X-UA-Compatible with IE=edge
......................................................................


webadmin,userportal: Use X-UA-Compatible with IE=edge

There might be cases when WebAdmin or UserPortal web page
is rendered in Compatibility Mode in Internet Explorer,
instead of using Standards Mode. For example, the user
might use "Compatibility View Settings" dialog to control
which pages are rendered in Compatibility Mode.

However, both applications depend on Standards Mode, as
indicated by using HTML5 doctype declaration:

<!DOCTYPE html>

Trying to render both applications in anything other than
Standards Mode will break (mess up) the entire UI.

This patch is meant to override custom Compatibility Mode
settings in Internet Explorer via X-UA-Compatible meta-tag,
forcing Internet Explorer to render both applications in
Standards Mode.

Note 1: 'edge' causes Internet Explorer to use highest
Standards Mode (HTML5/CSS3/etc.) available.

Note 2: meta-tag isn't closed via '/>' since HTML5 defines
this tag as 'void element' which doesn't need to be closed
(closing tag is just redundant).

Change-Id: Id22d27cf6e35a6253d9b00eadf4b519847711d17
Signed-off-by: Vojtech Szocs <[email protected]>
---
M 
frontend/webadmin/modules/frontend/src/main/resources/META-INF/resources/GwtHostPage.jsp
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Vojtech Szocs: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12215
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id22d27cf6e35a6253d9b00eadf4b519847711d17
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: Alexander Wels <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to