Page with table in columntogglemode causes error when navigating away. #5630

jankre opened this Issue Feb 12, 2013 · 3 comments
jankre commented Feb 12, 2013

Issue found in Internet Explorer.
IE9, IE10 and Windows Phone 7.5 (LG E900) browser
When navigating away from a page containing a table in columtogglemode i.e.
table data-role="table" data-mode="columntoggle" id="my-table"
you get a script error in jqm.js line 8577
// refresh method
self.refresh = function(){
$menu.find( "input" ).each( function(){
this.checked = $( this ).jqmData( "cells" ).eq(0).css( "display" ) === "table-cell";
$( this ).checkboxradio( "refresh" );

To reproduce. In IE9


The error is "unable to get value of property eq: the object is null or undefined".

Edit: The error only occurs when you leave the "table column toggle" page, and only if that's not the initial page.

jankre commented Mar 1, 2013

Update on how to reproduce in the new documentation.

To reproduce. In IE9
1 Go to (press F12 to open dev tools and choose Console-tab to see errors)
2 Scroll down and choose "Table, column toggle"
3 Click the navigation button on top of page and choose "Home" => The error occurs two or three times.
4 On the "Home page" click "Accordions" and you get the error again.
... The error will occur on every following pagerequest done with data-ajax=true.

AND it prevents other scripts on all the following pages to run!

@arschmitz arschmitz was assigned Aug 25, 2013

just tested this on ie9 and ie10 and it seems all the table work done for 1.4 has fixed this closing as fixed

@arschmitz arschmitz closed this Aug 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment