Embeding image in textbox results in javascript error

Bug #1514674 reported by Ghada El-Zoghbi
6
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://d.acttqi.mahara/artefact/file/js/filebrowser.js?v=57
Line 695

A check needs to go in for newtitle - to make sure it actually exists.

i.e.

artefact/file/js/filebrowser.js :: line 694, add following check:

    if (filetitle && newtitle) {
        ...
    }

Revision history for this message
Aaron Wells (u-aaronw) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.