summaryrefslogtreecommitdiff
path: root/BKUOnline/src
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-10 15:30:16 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-11-10 15:30:16 +0000
commitcaca721368d8c24559b1cd5ea2018884b4874f6b (patch)
treed9e1e07cc52120a39001d03db5813390c1d6264c /BKUOnline/src
parentd05668097eb126b4a8a7a88a17c1a8e6b7778521 (diff)
downloadmocca-caca721368d8c24559b1cd5ea2018884b4874f6b.tar.gz
mocca-caca721368d8c24559b1cd5ea2018884b4874f6b.tar.bz2
mocca-caca721368d8c24559b1cd5ea2018884b4874f6b.zip
Removed switchFocusListener due to problem with viewer/help dialogs on Firefox/Mac
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@539 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src')
-rw-r--r--BKUOnline/src/main/webapp/applet.jsp26
1 files changed, 1 insertions, 25 deletions
diff --git a/BKUOnline/src/main/webapp/applet.jsp b/BKUOnline/src/main/webapp/applet.jsp
index df0b3ca5..423b349e 100644
--- a/BKUOnline/src/main/webapp/applet.jsp
+++ b/BKUOnline/src/main/webapp/applet.jsp
@@ -71,7 +71,7 @@
}
%>
- <body id="appletpage" style="width:<%=width%>px" onFocus="focusToApplet()">
+ <body id="appletpage" style="width:<%=width%>px">
<script type="text/javascript">
// avoid selection of applet before it is completely loaded
@@ -109,28 +109,4 @@
</script>
</body>
-
- <script>
-
- function focusToApplet() {
-
- //alert('try to set focus to applet');
- if (document != null && document.moccaapplet != null && allowSelectionByJS) {
-
- //alert('set focus to applet.');
- document.moccaapplet.getFocusFromBrowser();
- return true;
- }
- allowSelectionByJS = true;
- }
-
- function focusToBrowser() {
-
- // put focus to window
- // focus can be assigned to any focusable field on the embedding website
- self.focus();
-
- }
-
- </script>
</html>