Javascript Error on Message Boards
-
IE6
Actually. I've just thought. If I use Firefox to browse CP I won't get this problem as the javascript debugger is an IE option. Problem sorted (for me at least)! Cheers.
-
IE6
Can you do a view source and send me what you find? SwitchMessage is definitely there.
cheers, Chris Maunder
CodeProject.com : C++ MVP
The 9 things Microsoft should be announcing at MIX07 (but won't)
-
Can you do a view source and send me what you find? SwitchMessage is definitely there.
cheers, Chris Maunder
CodeProject.com : C++ MVP
The 9 things Microsoft should be announcing at MIX07 (but won't)
Strange. I can't see it inline in the page at all. Searching for "SwitchMessage" only gives one result (in the onclick event) and no function definition for it
-
Strange. I can't see it inline in the page at all. Searching for "SwitchMessage" only gives one result (in the onclick event) and no function definition for it
-
Strange. I can't see it inline in the page at all. Searching for "SwitchMessage" only gives one result (in the onclick event) and no function definition for it
I'm getting the same error in Firefox as well. Not that it bothers me there as I don't get the modal dialogue but just FYI. If you have firebug installed and click anywhere on the div repeatedly you'll see the errors creeping up and up. Opening firebug shows the same problem with "SwitchMessage not defined".
-
Being a web developer I have javascript debugging switched on. This means that for almost every action on the message boards I have to end up closing this message box! --------------------------- Error --------------------------- A Runtime Error has occurred. Do you wish to Debug? Line: 245 Error: Object expected --------------------------- Yes No --------------------------- This is pretty tedious and presumably will affect a lot of developers using this site. Could you please sort it out? The offending bit of code is this:
I don't think that the SwitchMessage function exists.
I suppose you've already tried a Ctrl-Refresh?
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com link -
I suppose you've already tried a Ctrl-Refresh?
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com linkHmm, Just logged in from home and SwitchMessage seems to be there now. It's inline in the page so I can't have been seeing an old version of the page or I wouldn't have been seeing any new messages. Maybe it's been quietly fixed?
-
Hmm, Just logged in from home and SwitchMessage seems to be there now. It's inline in the page so I can't have been seeing an old version of the page or I wouldn't have been seeing any new messages. Maybe it's been quietly fixed?
Now I'm in work again and getting the same issue. Is Chris just messing with my mind? :suss: I can only assume either that the code is written server side conditionally according to something about the Request and for some reason at home it gets written, at work it doesn't. Or some of the servers on the web farm have out of synch pages.
-
Now I'm in work again and getting the same issue. Is Chris just messing with my mind? :suss: I can only assume either that the code is written server side conditionally according to something about the Request and for some reason at home it gets written, at work it doesn't. Or some of the servers on the web farm have out of synch pages.
Sussed it! It happens when the View is on "Normal (Slow)" changing it to "Message" fixed it.
-
Sussed it! It happens when the View is on "Normal (Slow)" changing it to "Message" fixed it.
I had a thought about midnight lastnight that that might have been the case. You beat me to it. Fix has been made. Thanks for your help.
cheers, Chris Maunder
CodeProject.com : C++ MVP
The 9 things Microsoft should be announcing at MIX07 (but won't)