From 1ead1f855a290fd375a5b0c821b7ad0f15d8c6cb Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Mon, 21 Dec 2009 12:09:58 +0000 Subject: [PATCH] fix screening version to work in IE SVN: 14019 --- .../screening/client/web/public/index.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/public/index.html b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/public/index.html index aae268b4e22..8bb4ad26608 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/public/index.html +++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/public/index.html @@ -1,13 +1,28 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> -<title>openBIS - Biological Information System for High Content Screening</title> +<title>openBIS for HCS</title> <!-- // This script loads your compiled module. If you add any GWT meta tags, they must be added before this line. --> <script language="javascript" src="ch.systemsx.cisd.openbis.plugin.screening.OpenBIS.nocache.js"></script> +<script language="JavaScript"> + // confirmation on exit depends on whether user is logged in + var allowConfirmOnExit = false; + window.onbeforeunload = confirmExit; + function confirmExit() + { + if (allowConfirmOnExit) { + return "WARNING: By doing this you will in fact leave openBIS!"; + } + } +</script> + +<!-- Required by IE (GWT 1.7) --> +<iframe id="__gwt_historyFrame" style="width:0;height:0;border:0"></iframe> + <link rel="shortcut icon" href="images/favicon.ico" /> <link rel="icon" type="image/png" href="images/favicon.png" /> <link rel="stylesheet" type="text/css" href="resources/css/gxt-all.css" /> -- GitLab