Status: fully resolved

    Javascript error preventing chat from opening in Fx 2.0.0.6

    Issue Number:
    114
    Severity:
    Major
    Description:
    Chat popup will not open from Chat tab. Error in Console reported as:

    "popUp is not defined javascript:popUp('http://www.starfrontiers.us/chat'); "
    Comments:

    Corvus's picture
    Corvus
    October 21, 2007 - 9:43pm
    Corjay wrote:
    Are you sure you didn't simply say the wrong thing to a mage in a past life and get cursed for all time? Tongue out


    I swear, I must have.  But I won't get into that.  You should have seen the fight I went through to try to get the laptop to talk to this box; it's why I scrapped Ubuntu on the laptop and put it back on Windows XP.  Windows and Linux are easy to get to communicate through Samba.  Ubuntu talking to itself?  Forget it, I had three Linux gurus trying to help me and they all failed.  That was a three-day nightmare I could have done without.  This is nothing in comparison, since I can actually access the chat with the URL workaround.  It's just that remaining "function does not appear in page source" problem.

    You know, I wonder what would happen if Bill yanked that little bit of code out, saved the page, then wrote it back in by hand.
    If you wish to make an apple pie from scratch, you must first invent the universe. -- Carl Sagan

    CleanCutRogue's picture
    CleanCutRogue
    October 22, 2007 - 6:24am
    I removed the function from inline text, moved it to an offsite file, typed it fresh by hand, then provided a reference to it.  If you look at the page source now, you should see:

    <script type="text/javascript" src="/misc/chatpop.js"></script>
    listed somewhere in there, around line 16.  I also renamed it so it isn't called "popuUp" to try to get around caching of the old function.  If this works, please let me know, as I have no way to test this problem (that's what makes it hard for me to troubleshoot).
    3. We wear sungoggles during the day. Not because the sun affects our vision, but when you're cool like us the sun shines all the time.

    -top 11 reasons to be a Yazirian, ShadowShack


    Corvus's picture
    Corvus
    October 22, 2007 - 6:45am
    Okay, it works now.  I had to tweak TabMixPlus to open the chat as a window and not as a tab from which I would have to detach the chat... but you know, I think I might like doing that better.  Anyway, issue fully resolved as advertised.
    If you wish to make an apple pie from scratch, you must first invent the universe. -- Carl Sagan