Conditionally allow Gerrit to load in IFrame

Introduce new configuration option (gerrit.canLoadInIFrame) to allow
loading Gerrit in IFrame. By default it is set to 'false' to keep
current behavior.

Change-Id: Ie13b6141a9dfb8a18348fc778fb5f6083f95bd14
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
This commit is contained in:
Dariusz Luksza
2014-04-03 17:05:47 +02:00
committed by Shawn Pearce
parent c282d7b282
commit 7a046da6f5
4 changed files with 18 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ public class HostPageData {
public List<Message> messages;
public Integer pluginsLoadTimeout;
public boolean isNoteDbEnabled;
public boolean canLoadInIFrame;
public static class Theme {
public String backgroundColor;