Fixed Top, Bottom, Left, Right Example shows JS errors in FF

Fixed Top, Bottom, Left, Right Example shows JS errors in FF

mortmort Posts: 4Questions: 0Answers: 0
edited December 2010 in FixedHeader
Firebug is showing some (serious?) errors for the

http://datatables.net/release-datatables/extras/FixedHeader/top_bottom_left_right.html

example on Firefox 3.6.10 on OS X. The error is

'that' is not defined at line 725

[code]$('td', this).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() ); [/code]

I'm also seeing this error in my own app. but only when setting {'left':true} in the initialization of FixedHeader.

Replies

  • allanallan Posts: 62,435Questions: 1Answers: 10,245 Site admin
    Hi mort,

    Good call - thanks for the heads up on this one. I've just committed a fix to FixedHeader which addresses the issue. You can grab the fix from the development version on the downloads page: http://datatables.net/download/ . I'll package this fix up into a release in the near future.

    Allan
  • mortmort Posts: 4Questions: 0Answers: 0
    Thanks for the quick response. I'll try it out!
  • mortmort Posts: 4Questions: 0Answers: 0
    I grabbed that but I'm still seeing the error regarding 'that.dom.body' in the _fnCloneTLeft() method.

    Can you please confirm that your fix is in the nightly build?
  • allanallan Posts: 62,435Questions: 1Answers: 10,245 Site admin
    Hi mort,

    I've just deleted the file that was there and reloaded the nightly. It's certainly there now. It might be worth deleting your cache as well.

    Allan
  • mortmort Posts: 4Questions: 0Answers: 0
    Yes, the fix is there for the min version now. thanks!
This discussion has been closed.