File uploads don't refresh the file-browser when complete
Bug #579043 reported by
David Coles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IVLE |
Fix Released
|
Low
|
David Coles |
Bug Description
Firefox 3.5.9
File uploads don't refresh the file browser when complete or close the upload dialog.
Have to refresh the page by hand.
Related branches
Changed in ivle: | |
milestone: | none → 1.0.2 |
Changed in ivle: | |
assignee: | nobody → David Coles (dcoles) |
Changed in ivle: | |
status: | Triaged → In Progress |
Changed in ivle: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looks like this is caused by some odd DOM behaviour that causes the JSON to be split into several DOM nodes. Thus firstChild results in truncated JSON. This causes an JSON parse error and thus refresh fails.
browser.js firstChild. getElementsByTa gName( [0].firstChild. firstChild. nodeValue;
----
401: data = myFrame.
402: 'body')
403: data = JSON.parse(data)
Solution is probably to use something like `innerText` rather than `firstChild. nodeValue` .