Ask Your Question

cwsterling's profile - activity

2012-09-13 22:14:38 -0500 answered a question Problem posting answer in IE?

If you are still having a problem, check around this line of code

if (Modernizr.history) {
      // history management works!
    } else {
      // no history support :(
      //hash = unescape(window.location.hash).replace('#','').split("?")[0]
      hash = History.unescapeHash(window.location.hash).replace('#','').split("?")[0]
      if (hash.substring(0,11)==askbot['urls']['questions']){
        url = hash
      }else{
        url = askbot['urls']['questions']+hash
      }
      if (hash !== ''){
          window.location = 'http://'+window.location.host+url
      }
    }

and comment out the window.location line. what it's doing is trying to force history into IE when it really doesn't need to.

Also, if your code is a little different look for the askbot['urls']['questions'] and it should be around there.