My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 199: Javascript errors in IE cause sorting not to work.
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jun 2009


 
Reported by jessicak...@gmail.com, Jun 1, 2009
What steps will reproduce the problem?
1. Load page w/ jmesa table in Internet Explorer (have tested with multiple
versions.)
2. Click a column header to sort the table.

What is the expected output? What do you see instead?
Expected - table is sorted. Instead, in the bottom left hand corner of
screen I see the message "Done, but with errors on page." Expanding the
details shows the following:

Message: Expected ';'
Line: 185
Char: 42

Line 185 is 
		<td class="tableHeader" 
onmouseover="this.className='tableHeaderSort';this.style.cursor='pointer'"
 onmouseout="this.className='tableHeader';this.style.cursor='default'" 
onclick="javascript:document.forms.empTable.empTable_s_Click to
View.value='asc';document.forms.empTable.empTable_p.value='1';document.forms.empTable.setAttribute('action','http://localhost:8080/workflow/ta/index.jsp');document.forms.empTable.setAttribute('method','post');document.forms.empTable.submit()
 title="Sort By Click  to   View" >Click  to   View</td>



What version of the product are you using? On what operating system?
jmesa 2.4.2
Tested with Windows XP and with IE6 & IE8.

Jun 1, 2009
Project Member #1 jeff.johnston.mn@gmail.com
Your column property cannot have any spaces in it.

The browser does not like this...
javascript:document.forms.empTable.empTable_s_Click toView.value
Jun 2, 2009
#2 jessicak...@gmail.com
Got it. Firefox didn't have a problem with it, so I didn't catch it. Thanks!
Jun 11, 2009
Project Member #3 jeff.johnston.mn@gmail.com
(No comment was entered for this change.)
Status: Invalid

Powered by Google Project Hosting