View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
278 | Composr | core_cns | public | 2011-07-21 19:37 | 2016-06-08 00:12 |
Reporter | Guest | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 278: Problems with updating the forum message editor after uploading an attachment | ||||
Description | Uploading attachment on forum post does not enter comcode tags into the message editor if it didn't have a focus previously. | ||||
Steps To Reproduce | 1) Navigate to forum 2) Be sure that simple uploader is selected 3) Create new post (or replay to an existing one) WITHOUT clicking on any field on the form (i.e. the message editor does not have a focus) 4) Select Attachments 5) Upload an image 6) Select Thumbnail on the popup window 7) The image is added to the upload field but comcode tags are not entered into the message editor (it is completely empty). Moreover, an user is not able to remove the uploaded attachment without refreshing the page (see the issue 0000276) | ||||
Additional Information | Expected behavior: After uploading image the message box is updated even if it did not have a focus. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
The same issue exists with flash uploader, too. The editor is not updated with uploaded image (but there is an option for clearing the upload field) |
|
I believe this is due to a bug in Firefox. The action on a non-focused causes a JS exception which we have to swallow to stop the whole thing breaking. |
|
Tested with IE 8 and 9, Firefox, Chrome, Chromium and Opera and the behavior is the same in all cases - the editor is not updated with comcode tags if it doesn't have a focus. |
|
Seems you're right. I have implemented a workaround. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-06-08 00:12 | Chris Graham | Tag Detached: window | |
2016-06-08 00:12 | Chris Graham | Tag Detached: post | |
2016-06-08 00:12 | Chris Graham | Tag Detached: popup | |
2016-06-08 00:12 | Chris Graham | Tag Detached: forum | |
2016-06-08 00:12 | Chris Graham | Tag Detached: browser | |
2016-06-08 00:12 | Chris Graham | Tag Detached: attachment |