Re: [jQuery] dimensions plugin Mozilla bug

2007-03-20 Thread Brandon Aaron
After some investigating, I'm not able to reproduce what you describe.
Could you possibly post up or send me a test case for this? The
highest the loop should go to is the body tag (in Mozilla). Once it
hits the body tag inside the loop you describe the code that gives you
an error *should* not run. Also, you might want to insure you have the
latest revision: 1485.

Thanks
--
Brandon Aaron

On 3/18/07, Brandon Aaron [EMAIL PROTECTED] wrote:
 Thanks for the bug ... I'll get this fixed soon!

 --
 Brandon Aaorn

 On 3/18/07, Wizzud [EMAIL PROTECTED] wrote:
 
  While playing with Ext I encountered a problem in Firefox whereby the offset
  function in dimensions was causing an elem.style error. The reason is that
  there is a do-while loop if options.scroll is set, and that loop will go all
  the way up to the document, at which point - if the browser is Mozilla - the
  code attempts to check the css for overflow not visible and falls over
  because document has no style.
  I fixed this in my version by modifying line 260 of dimensions.js and
  inserting a check for op, so the line now begins ...
 
  if (op  jQuery.browser.mozilla  
 
  This prevents the jQuery.css() call failing at the document level.
  --
  View this message in context: 
  http://www.nabble.com/dimensions-plugin-Mozilla-bug-tf3421935.html#a9537545
  Sent from the jQuery Plugins mailing list archive at Nabble.com.
 
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] dimensions plugin Mozilla bug

2007-03-18 Thread Wizzud

While playing with Ext I encountered a problem in Firefox whereby the offset
function in dimensions was causing an elem.style error. The reason is that
there is a do-while loop if options.scroll is set, and that loop will go all
the way up to the document, at which point - if the browser is Mozilla - the
code attempts to check the css for overflow not visible and falls over
because document has no style.
I fixed this in my version by modifying line 260 of dimensions.js and
inserting a check for op, so the line now begins ...

if (op  jQuery.browser.mozilla  

This prevents the jQuery.css() call failing at the document level.
-- 
View this message in context: 
http://www.nabble.com/dimensions-plugin-Mozilla-bug-tf3421935.html#a9537545
Sent from the jQuery Plugins mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] dimensions plugin Mozilla bug

2007-03-18 Thread Brandon Aaron
Thanks for the bug ... I'll get this fixed soon!

--
Brandon Aaorn

On 3/18/07, Wizzud [EMAIL PROTECTED] wrote:

 While playing with Ext I encountered a problem in Firefox whereby the offset
 function in dimensions was causing an elem.style error. The reason is that
 there is a do-while loop if options.scroll is set, and that loop will go all
 the way up to the document, at which point - if the browser is Mozilla - the
 code attempts to check the css for overflow not visible and falls over
 because document has no style.
 I fixed this in my version by modifying line 260 of dimensions.js and
 inserting a check for op, so the line now begins ...

 if (op  jQuery.browser.mozilla  

 This prevents the jQuery.css() call failing at the document level.
 --
 View this message in context: 
 http://www.nabble.com/dimensions-plugin-Mozilla-bug-tf3421935.html#a9537545
 Sent from the jQuery Plugins mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/