Affects Version/s: None
Fix Version/s: None
Since HTML doesn't allow you to set a checkbox to readonly a work around is required.
A quick fix would be to extend the setReadonly method to call the following when readonly is set to true:
setAttribute("onclick", "return false;"); which stops the user changing the value.
A bigger fix would be to set the field to disabled and to include a hidden field with the real value.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Project Import||Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]|