4 Jul 2011 12:48 AM #11
- Join Date
- Jan 2010
- Rotterdam, The Netherlands
- Vote Rating
I dont even see a back button with this simple example
Try and run this in IE7, IE8 Ext JS 3.3.1 through 3.4.0. You won't see a back button after clicking on the button. Why?
5 Jul 2011 1:36 PM #12
It seems to help if you add a doctype. I tried it with this and it fixed it:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
23 Feb 2013 9:53 AM #13
Did anyone find a solution to this?
We are having a similar problem and can't find any solution.
I have a pretty thorough write-up here:
The net is that I can't get the Ext History utility to work more than once with the browser back button when running in IE in Standard Document mode for versions 8 and higher. If I traverse from page1 to page2 to page3, then hit the back button twice, I end up on page3, not page1.
The History example that Sencha has posted exhibits this behavior, however, it is masked because Quirks mode is the page default.
Any hints or thoughts would be tremendously appreciated.
26 Feb 2013 5:38 AM #14
This was actually pretty straightforward. I downloaded Ext 4.1 and looked at what they were doing with the Ext.util.History class. They define a variable for oldIEMode and use that for all the conditionals where in 3.4 they are using Ext.isIE.
So I edited the Ext.History class in ext-all-debug.js and defined the following variable at the top:
var oldIEMode = Ext.isIE6 || Ext.isIE7 || !Ext.isStrict && Ext.isIE8;
There were three conditionals in the class that were checking for Ext.isIE which I replaced with oldIEMode.
I ended up overriding the class rather than editing the ext-all.js file. My full solution is posted on the stackoverflow question thread.