| Summary: | "Disable" does NOT work for CheckBox | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Yu Hao <yuhaodl> | ||||
| Component: | EDT | Assignee: | Huang Ji Yong <hjiyong> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | greer, hjiyong, yuhaodl | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Yu Hao
This is a JSGen defect.
The generation for Checkbox.egl is wrong
function setDisabled(disabled Boolean in)
check.disabled = disabled;
span.disabled = disabled;
end
generated js is:
"setDisabled": function(disabled) {
this.check.disabled = disabled; // should be this.check.setDisabled(disable)
this.span.disabled = disabled; // The same as the last line
}
The property "disable" for widget "List" only works in preview mode of internal browser. It does not work in preview with external browser and deploy mode ListMutli has the same issue with List The checkbox problem is a js gen problem. But the list/listMulti disabled is not a problem, it is just a display difference across browsers. Scott, please review my patch. Thanks. Created attachment 205780 [details]
fix
Ji Yong, Fix looks good -- please commit....thanks! Fixed Verified in 201111012101 |