Error: $doc.getBoxObjectFor is not a function
Source File: ...
Line: 376
Does anyone know a fix or workaround for this issue? I also upgraded
GWT libraries from version 1.5 to 2.0, but that didn't help.
On Feb 4, 3:17 am, Prashant <prashant.sharma.in...@gmail.com> wrote:
> We use GWT 1.5 for our rest results publishing dashboard. We
> extensively use GWT widgets like MenuBar, DialogBox, PopupPanel, etc.
> Everything had been working fine till date. However, when we recently
> upgraded Firefox to the latest version (3.6), a lot of features seem
> to have been broken. For example, clicking on the menu bar doesn't do
> anything. Clicks to invoke dialog boxes and popup panels are also
> ignored. The application works fine in IE (8.0), Google Chrome (5.0)
> and all versions of FF prior to 3.6.
> In Firefox 3.6, when I go to Tools -> Console to see the cause of
> failure, I see the following:
>
> Error: $doc.getBoxObjectForis not a function
Replace the implementations of the getAbsoluteLeft and getAbsoluteTop
methods with:
return elem.getBoundingClientRect().left -
$doc.documentElement.getBoundingClientRect().left;
and
return elem.getBoundingClientRect().top -
$doc.documentElement.getBoundingClientRect().top;
respectively.
Links I found helpful:
http://stackoverflow.com/questions/1018997/gwt-javascript-exception-in-hosted-mode-result-of-expression-doc-getboxobjectfo
https://bugzilla.mozilla.org/show_bug.cgi?id=409111#c14
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.