Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Page title replaced in IE if fragment identifier set

In IE, with Flex application embedded, changing page location with JS like that:

document.location.href = "#someFragmentIdentifier";

causes change of page title to "#someFragmentIdentifier". I've read that the cause of that was supposed to be integration of Flex application with browser navigation, so I disabled it at the Flex compiler properties screen, however it didn't fix anything. Could anybody help me by pointing some working solution to this unwanted behavior.

Thanks.

PS: You can easily reproduce that by starting your Flex application and changing current URL by hand so it contains fragment identifier and then refreshing the page.

like image 580
2DH Avatar asked Jul 19 '10 09:07

2DH


2 Answers

We've run into this using various ajax toolkits, including MS's.

It is not limited to Flex, flash, or any Adobe tech. It is purely a browser issue.

Unfortunately, the ONLY workaround we've found that was worthwhile involved "changing the title with javascript".

like image 129
NotMe Avatar answered Nov 18 '22 12:11

NotMe


There's a bug in Adobe's bug tracker with various workarounds. I guess one of them should work... http://bugs.adobe.com/jira/browse/FP-240

like image 2
Gerhard Schlager Avatar answered Nov 18 '22 13:11

Gerhard Schlager