Chat does not refresh on message submit in Firefox 1.5/Linux

Description

When you add a message to chat using Firefox on Linux, no message appears on clicking 'Add Message'. If you Reload/Refresh the page, the message is there.

Activity

Peter Knoop July 1, 2008 at 5:52 AM

See for further progress on this issue.

Matthew Buckett June 30, 2008 at 10:51 PM

Can anyone who knows about JavaScript comment on the "this.location" of "location" as to which works in more browsers?

Lance Speelmon June 30, 2008 at 11:45 AM

It seems that since the related bug was fixed, this one should also be fixed. Thanks, L

Matthew Buckett October 8, 2007 at 4:07 AM

I've created which includes a patch to event(UsageSession stuff) to know about Firefox/Linux.

Matthew Buckett October 8, 2007 at 3:56 AM

Ok after a bit of digging the problem seems to be that Firefox on Linux doesn't get detected by UsageSession as a know browser, this means chat decides to tell it to reload the whole tool frame rather than manipulating the DOM, however it attempts to do this with (ChatDelivery:136):

try { this.location.replace(addAuto(this.location));} catch (error) {}

Now under Firefox this.location isn't defined. The location property is available on the window or the document object. Replacing the refresh text with:

try { location.replace(addAuto(location));} catch (error) {}

should allow the fallback solution to work on Firefox (and other browsers).

However really UsageSession should return Firefox on Linux as a known good browser.

Incorporated

Details

Priority

Affects versions

Components

Assignee

Reporter

Environment

Firefox 1.5/Linux

Created July 3, 2007 at 10:37 AM
Updated March 27, 2012 at 7:02 AM
Resolved June 30, 2008 at 11:45 AM