IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

IE9 + Authentic + window.onbeforeunload Options · View
thomas@nhi.no
Posted: Wednesday, November 2, 2011 11:37:00 AM
Rank: Newbie

Joined: 11/2/2011
Posts: 7
Location: Norway
Hi,

In IE9, the window.onbeforeunload does not fire when closing the browser if the Altova component is included in the page.
It fires if we go to another page/url.


The same code works in IE7 and IE8.

Any solutions to this problem ?

vlad
Posted: Thursday, November 3, 2011 8:36:33 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Works for me with IE9. Are you using the latest Authentic version?
thomas@nhi.no
Posted: Friday, November 4, 2011 6:43:17 AM
Rank: Newbie

Joined: 11/2/2011
Posts: 7
Location: Norway
Hi,

yes, tested with 2011 version(s) and the new 2012 version.
Same result - the event wont fire and the browser just closes.
Do we need to have any special settings enabled in IE9 ?

The event fires in IE7, IE8, FireFox x and Chrome.

thomas@nhi.no
Posted: Tuesday, November 22, 2011 8:14:09 AM
Rank: Newbie

Joined: 11/2/2011
Posts: 7
Location: Norway
just tested with a minimal setup..
if I browse to a new url the onbeforeunload fires, but if I try to close the browser.. i just closes. :/
any ideas?

<HTML>
<head>
<script>
function closeIt() {
return "Any string value here forces a dialog box to \n" +
"appear before closing the window.";
}
window.onbeforeunload = closeIt;
</script>
</head>
<body>
<object
id="Object1"
codebase="/cabs/authenticbrowseredition_x64.cab#Version=14,0,0,1"
classid="clsid:B4628728-E3F0-44a2-BEC8-F838555AE780"
width="1000px"
height="800px">
<param name="TextStateToolbarLine" value="2" />
<param name="EntryHelpersEnabled" value="true" />
<param name="SaveButtonAutoEnable" value="true" />
<param name="SaveButtonUsePost" value="true" />
<param name="LoaderSettingsFileURL" value="/cabs/loadersettings.xml" />
</object>'

<script type="text/javascript">
var oAuthentic = document.getElementById('oAuthentic');
</script>
</body>
</html>
thomas@nhi.no
Posted: Monday, November 28, 2011 1:34:23 PM
Rank: Newbie

Joined: 11/2/2011
Posts: 7
Location: Norway
vlad wrote:
Works for me with IE9. Are you using the latest Authentic version?


Can you you send me a working sample/layout?
thomas@nhi.no
Posted: Friday, February 10, 2012 11:47:37 AM
Rank: Newbie

Joined: 11/2/2011
Posts: 7
Location: Norway
bump
thomas@nhi.no
Posted: Tuesday, September 18, 2012 5:51:38 AM
Rank: Newbie

Joined: 11/2/2011
Posts: 7
Location: Norway
bump :p

We have another problem with the Altova Authentic component and Internet Explorer 9.
Some users reports back that it's really slow.

They start to type and it takes seconds before it shows in the browser.

Any solutions to this problem ? or the onbeforeunload problem ?

Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.