#883 ✓resolved
theohiobloke

Bug File Manager unable to return link to ckeditor if displayed from the Insert/Modify Link window

Reported by theohiobloke | January 24th, 2013 @ 07:40 PM | in 2.1.1 (closed)

Using the insert link button in an editor and then switching to file manager and choosing a file does not return you to the insert file dialog. It does nothing.

If you use the Upload tab and upload a new file you can get it to work.

Comments and changes to this ticket

  • theohiobloke

    theohiobloke January 24th, 2013 @ 07:40 PM

    • Assigned user changed from “expNinja” to “dleffler”
  • dleffler

    dleffler January 24th, 2013 @ 08:24 PM

    • Title changed from “attaching files to links in text editor not working” to “Bug File Manager unable to return link to ckeditor if displayed from the Insert/Modify Link window”
    • Tag set to file manager, ckeditor

    This issue occurs when you use one of the ckeditor dialogs and do a 'browse server' to get a url link. That button brings up the Insert/Modify Link window with the list of pages, but that window also contains a link to the File Manager. If you click and switch to the Fle Manager, the 'Use this File' button doesn't work because ckeditor is throwing a javascript error.
    ckeditor.js line #39, TypeError: this.$ is undefined

  • dleffler

    dleffler January 25th, 2013 @ 12:17 AM

    • Milestone set to 2.1.1
  • dleffler

    dleffler January 25th, 2013 @ 11:34 AM

    After some testing, the 'feature' broke on the update to ckeditor v4 (from v3.6.5), though the window acted properly, it didn't return a link...and it appears that in the past week, the window code broke.

  • expNinja

    expNinja January 25th, 2013 @ 03:06 PM

    • State changed from “new” to “resolved”

    (from [855a982cfbbf3a456b2a93b2c87f2eb7fa05f87e]) Fixes returning link url's from File Manager to ckeditor if displayed from the Insert/Modify Link window, we were assuming function number, etc...instead of getting it programatically [#883 state:resolved responsible:dleffler] https://github.com/exponentcms/exponent-cms/commit/855a982cfbbf3a45...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Pages