?
avatar brianteeman
brianteeman
2 Sep 2016

Steps to reproduce the issue

  1. Create some text and highlight it and click on the icon to create a link. Add a url and click ok.
  2. Add an image and highlight it and click on the icon to create a link. Add a url and click ok.

Expected result

In both cases the link should be added and the modal closed

Actual result

In case 2 the link is added but the modal does not close when you select ok

System information (as much as possible)

Current staging

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar brianteeman brianteeman - open - 2 Sep 2016
avatar brianteeman
brianteeman - comment - 2 Sep 2016

Console shows the following

tinymce.min.js:6 Uncaught TypeError: e is not a function(anonymous function) @ tinymce.min.js:6n @ tinymce.min.js:3i @ tinymce.min.js:6x @ tinymce.min.js:6mceInsertLink @ tinymce.min.js:8p @ tinymce.min.js:8execCommand @ tinymce.min.js:11d @ plugin.min.js:1onSubmit @ plugin.min.js:1i @ tinymce.min.js:8fire @ tinymce.min.js:8fire @ tinymce.min.js:8submit @ tinymce.min.js:12onclick @ tinymce.min.js:9i @ tinymce.min.js:8fire @ tinymce.min.js:8t @ tinymce.min.js:8e @ tinymce.min.js:2m @ tinymce.min.js:2```
avatar ciar4n
ciar4n - comment - 2 Sep 2016

I have followed above steps and able to reproduce this issue.

avatar brianteeman brianteeman - change - 2 Sep 2016
Status New Confirmed
avatar brianteeman brianteeman - change - 2 Sep 2016
Category Plugins
avatar C-Lodder
C-Lodder - comment - 2 Sep 2016

Joomla currently uses v4.4.1 of TinyMCE. Do you get the same issue on v4.4.3?

avatar brianteeman
brianteeman - comment - 2 Sep 2016

Dam - why do they never email on updates on minor releases.

On 2 September 2016 at 17:26, Lodder notifications@github.com wrote:

Joomla currently uses v4.4.1 of TinyMCE. Do you get the same issue on
v4.4.3?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#11889 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8eGkxGtb32wrA3UDo7lDeHG-tTFsks5qmE4qgaJpZM4Jzon4
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman
brianteeman - comment - 2 Sep 2016

Its not in the bug list but as I have to do an update PR for tinymce I can
double check then

On 2 September 2016 at 17:47, Brian Teeman brian@teeman.net wrote:

Dam - why do they never email on updates on minor releases.

On 2 September 2016 at 17:26, Lodder notifications@github.com wrote:

Joomla currently uses v4.4.1 of TinyMCE. Do you get the same issue on
v4.4.3?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#11889 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8eGkxGtb32wrA3UDo7lDeHG-tTFsks5qmE4qgaJpZM4Jzon4
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman
brianteeman - comment - 2 Sep 2016

I have done a PR for updating tinymce see #11894

However it doesnt resolve this issue

On 2 September 2016 at 17:49, Brian Teeman brian@teeman.net wrote:

Its not in the bug list but as I have to do an update PR for tinymce I can
double check then

On 2 September 2016 at 17:47, Brian Teeman brian@teeman.net wrote:

Dam - why do they never email on updates on minor releases.

On 2 September 2016 at 17:26, Lodder notifications@github.com wrote:

Joomla currently uses v4.4.1 of TinyMCE. Do you get the same issue on
v4.4.3?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#11889 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8eGkxGtb32wrA3UDo7lDeHG-tTFsks5qmE4qgaJpZM4Jzon4
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman brianteeman - change - 5 Sep 2016
Labels Added: ?
avatar brianteeman
brianteeman - comment - 9 Oct 2016

This is still an issue with the current staging


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11889.

avatar zortext
zortext - comment - 10 Nov 2016

I have the same issue with 4.4.3. Error occurs at line 36 of Hooks.js

Firefox says:
TypeError: hook is not a function
hook(editor);

I fixed it by adding if (typeof hook == 'function') before line 36 (hook(editor);) in the dev version.

To fix the minified version find function i(e,t){s(o[e],function(e){e(t)})}} and replace with function i(e,t){s(o[e],function(e){if (typeof e == 'function'){e(t)}})

Note: This is a DIRTY FIX! I have no idea about what that hook(editor) does, so some side effects may occur.

avatar infograf768
infograf768 - comment - 10 Nov 2016

@dgt41
Any idea?

avatar dgt41
dgt41 - comment - 10 Nov 2016

@infograf768 I've started debugging this few weeks ago and found that a plugin is responsible for that, bad news I can't find the related branch, stash on my machine right now (means I need to redo this ?)

avatar brianteeman
brianteeman - comment - 9 Dec 2016

@dgt41 have you got anywhere with this?

avatar dgt41
dgt41 - comment - 9 Dec 2016
avatar brianteeman
brianteeman - comment - 9 Dec 2016

Ok I will retest

On 9 Dec 2016 1:46 p.m., "Dimitri Grammatikogianni" <
notifications@github.com> wrote:

@brianteeman https://github.com/brianteeman can't reproduce it anymore:
http://www.giphy.com/gifs/26ybuWARgxEGeviaA


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11889 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8R9BROD1foSqL54yx5wdW6MksDphks5rGVujgaJpZM4Jzon4
.

avatar brianteeman
brianteeman - comment - 9 Dec 2016

Closed as I can confirm this is no longer an issue and must have been fixed elsewhere

Thnks @dgt41 for rechecking

avatar brianteeman
brianteeman - comment - 9 Dec 2016

So long and farewell

avatar brianteeman brianteeman - change - 9 Dec 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-12-09 15:34:55
Closed_By brianteeman
avatar brianteeman brianteeman - close - 9 Dec 2016

Add a Comment

Login with GitHub to post a comment