Embeding image in textbox results in javascript error
Bug #1514674 reported by
Ghada El-Zoghbi
This bug report is a duplicate of:
Bug #1511194: TinyMCE image selector is not working in 15.10.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
New
|
Undecided
|
Unassigned |
Bug Description
Mahara 15.10
$config->version = 2015092910;
$config->series = '15.10';
$config->release = '15.10.0';
Browser: Firefox 42.0
When embedding an image (doesn't matter what type) in a text box via the TinyMCE "Insert or select an image" icon, once the user has selected the image (from their list of files), upon saving, gets this javascript error:
TypeError: newtitle is null
http://
Line 695
A check needs to go in for newtitle - to make sure it actually exists.
i.e.
artefact/
if (filetitle && newtitle) {
...
}
To post a comment you must log in.
Hi Ghada,
Thanks for the bug report! We've fixed this one already in 15.10_STABLE. It's not exactly the same fix as what you've described, but the error goes away so I think it's the same issue.
Cheers,
Aaron