Ask Your Question
1

Comments "see more" doesn't show up in explorer

asked 2012-08-15 11:43:24 -0500

Jtrain gravatar image Jtrain flag of Germany
283 4 4 16

updated 2012-08-15 13:06:25 -0500

Evgeny gravatar image Evgeny flag of Chile
11059 50 84 182
http://askbot.org/

Hello, I've had lots of comments on a single question but on Internet Explorer version 8 (haven't checked 9) the show/more comments doesn't appear.

There is a javascript error in the this code:

 $(document).ready(function(){
        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
          }
        }

        // focus input on the search bar endcomment

            $('#keywords').focus();

        animateHashes();
    })

It looks like askbot['urls']['questions'] isn't defined anywhere. Anyway, the problem is a little sporadic in Internet explorer. I'm not entirely sure of the real cause, and if that javascript error had anything to do with it.

delete close flag offensive retag edit

Be the first one to answer this question!

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-08-15 11:43:24 -0500

Seen: 33 times

Last updated: Aug 15 '12