#3319 - Uncaught SyntaxError: Unexpected token
| Identifier | #3319 |
|---|---|
| Issue type | Major issue (breaks an entire feature) |
| Title | Uncaught SyntaxError: Unexpected token |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | General / Uncategorised |
| Description | Since upgrading from 10.1.0 beta1 to beta2, unable to upload images within an article. Getting the following console error.
Uncaught SyntaxError: Unexpected token < at generate_background_preview (posting_ssl.js?1499761414:63) at posting_ssl.js?1499761414:54 at Object.finished (modalwindow_ssl.js:59) at Object.option (modalwindow_ssl.js:66) at iframe.contentWindow.faux_close (modalwindow_ssl.js:136) at comcode_helper.php?type=step3&field_name=post&utheme=admin:71 Cleared cache etc. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
This should fix it:
https://github.com/ocproducts/composr/commit/0b3a928e08fcd2e8f5ef283f4ab1180d2ea44e5c