You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Dirk Frederickx (JIRA)" <ji...@apache.org> on 2011/02/20 22:12:38 UTC

[jira] Commented: (JSPWIKI-683) sortable tables do not work in Google Chrome (Uncaught TypeError: Cannot read property 'filterStack' of null)

    [ https://issues.apache.org/jira/browse/JSPWIKI-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997220#comment-12997220 ] 

Dirk Frederickx commented on JSPWIKI-683:
-----------------------------------------


There's a bug in the javascript event handler binding.

Replace:
th.addEvent('click', this.sort.bind(this,[th]) )

by:
th.addEvent('click', this.sort.bind(this,th) )


Strangely enough, it only affects Chrome.


I will include the bugfix in my next commit.
dirk



> sortable tables do not work in Google Chrome (Uncaught TypeError: Cannot read property 'filterStack' of null)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-683
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-683
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Editors
>    Affects Versions: 2.8.5
>         Environment: JSPWiki 2.8.5
> Google Chrome 8.0.552.237 (and also Chromium 8.0.552.237 (70801) Ubuntu 10.10 )
>            Reporter: Harry Metske
>            Assignee: Dirk Frederickx
>            Priority: Minor
>
> Create a wiki page with the following content :
> {noformat}
> %%sortable
> ||header1 ||header2
> |cell1a | cell2a
> |cell2a | cell2b
> %%
> {noformat}
> Click on the table headers to sort, the following error pops up in the java console :
> {noformat}
> Uncaught TypeError: Cannot read property 'filterStack' of null
> {noformat}
> I also tested with other browsers at my proposal, (Opera 11.01 and Firefox 3.6.13) and there the problem does not occur.
> I don't know if this is a javascript bug or a browser bug.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira