MantisBT - AChecker
View Issue Details
0004712ACheckerInterfacepublic2011-01-24 16:422011-01-25 13:16
greg 
cindy 
normalminorhave not tried
closedfixed 
 
1.11.1 
458
0004712: add prerequisite error message
after saving a new check, clicking on the add prerequisite button always generates an alert "you have unsaved changes" despite there being no unsaved changes.
No tags attached.
Issue History
2011-01-24 16:42gregNew Issue
2011-01-24 16:42gregStatusnew => assigned
2011-01-24 16:42gregAssigned To => cindy
2011-01-25 11:51cindySVN Revision# => 458
2011-01-25 11:51cindyNote Added: 0004938
2011-01-25 11:51cindyStatusassigned => resolved
2011-01-25 11:51cindyFixed in Version => 1.1
2011-01-25 11:51cindyResolutionopen => fixed
2011-01-25 13:16gregNote Added: 0004945
2011-01-25 13:16gregStatusresolved => closed

Notes
(0004938)
cindy   
2011-01-25 11:51   
The incorrect detection of unsaved data was due to the different newline characters from the page text area and db saved data. One uses "\n" while the other uses "\r". The solution is to remove all the newline characters before the string comparison.

Affected: themes/default/check/check_create_edit.tmpl.php
(0004945)
greg   
2011-01-25 13:16   
closed for AChecker 1.1