| Summary: | [upload] widget throws javascript error if reset() is called too early | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Michal Tkacz <Michal.Tkacz> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Michal Tkacz
Fixed in CVS HEAD. Thanks! Can we have it backported to v13_Maintenance? Upload widget from sandbox in not part of the build. Thus, I have no idea which state of the upload widget corresponds (work with) to 1.3. But the fix is to replace the line 279 in Upload.js:
---
if (this._uploadField) {
---
with:
---
if (this._uploadField.isCreated()) {
You could port it yourself in your Upload widget.
Ok, thanks. |