Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
jankre opened this Issue · 3 comments
jankre

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(){
//ERRORLINE BELOW
this.checked = $( this ).jqmData( "cells" ).eq(0).css( "display" ) === "table-cell";
$( this ).checkboxradio( "refresh" );
});
};

To reproduce. In IE9

Jasper de Groot

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

Update on how to reproduce in the new documentation.

To reproduce. In IE9
1 Go to http://view.jquerymobile.com/1.3.0/ (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!

Alexander Schmitz arschmitz was assigned
Alexander Schmitz
Owner

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

Alexander Schmitz arschmitz closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.