mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31135
[Bug 1514674] Re: Embeding image in textbox results in javascript error
*** This bug is a duplicate of bug 1511194 ***
https://bugs.launchpad.net/bugs/1511194
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
** This bug has been marked a duplicate of bug 1511194
TinyMCE image selector is not working in 15.10
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1514674
Title:
Embeding image in textbox results in javascript error
Status in Mahara:
New
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) {
...
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1514674/+subscriptions
References