You are here: Foswiki>Tasks Web>Item4594 (13 Jan 2010, PaulHarvey)Edit Attach

Item4594: Link pop-up does not work in Safari

pencil
Priority: Low
Current State: Closed
Released In:
Target Release: n/a
Applies To: Engine
Component: TinyMCEPlugin
Branches:
Reported By: TWiki:Main.ArthurClemens
Waiting For:
Last Change By: PaulHarvey
I am testing this in WebKit. Safari 2.0.4 does not even make the link button clickable when text is selected.

When the popup appears the page in it stays blank (invisible). The js console gives the error "Null value" at the last line of:

  onLoad : function() {
        var dir, i, elms, body = document.body;

        if (tinyMCE.getWindowArg('mce_replacevariables', true))
            body.innerHTML = tinyMCE.applyTemplate(body.innerHTML, tinyMCE.windowArgs);

The same goes for the image popup, at the last line of:
        if (this.isWindow) {
            doc = document;
            body = doc.body;

            if (body.style.display == 'none')
Hard to say why it doesn't work. document is available, but document.body is not. Perhaps the onload is called too early?

-- TWiki:Main/ArthurClemens - 09 Sep 2007

Safari 3.0: the image pop-up works now. The link pop-up still shows a blank page. Strange that the pop-ups do work in Safari at Moxiecode's site: http://tinymce.moxiecode.com/example_full.php

The html of both pop-ups is remarkably different.

-- TWiki:Main.ArthurClemens - 11 Sep 2007

I think the TinyMCEPlugin is using the advanced skin. And with the Advanced example and Safari 3.0.3 beta the popup shows still a blank page...

-- TWiki:Main.FrankSpangenberg - 02 Oct 2007

I created a bug report

CC

There is already a bug report and a fix:

-- TWiki:Main.FrankSpangenberg - 15 Oct 2007

You are right; I removed the duplicate. i also applied the patch described in http://sourceforge.net/tracker/index.php?func=detail&aid=1744171&group_id=103281&atid=635685 and it seems to work, so dropping priority of this to Low.

CC

Don't put long links in the Waiting for field. It destroys the searches (unreadable). Use a bracket link instead

KJL


Closing as TinyMCEPlugin supports Safari (4.x) these days (link popup works)

This was waiting for Safari bug report

-- PaulHarvey - 13 Jan 2010

ItemTemplate edit

Summary Link pop-up does not work in Safari
ReportedBy TWiki:Main.ArthurClemens
Codebase
SVN Range TWiki-4.2.0, Sat, 08 Sep 2007, build 14780
AppliesTo Engine
Component TinyMCEPlugin
Priority Low
CurrentState Closed
WaitingFor
Checkins TWikirev:15289 TWikirev:15290 TWikirev:15291 TWikirev:15292
TargetRelease n/a
ReleasedIn
Topic revision: r15 - 13 Jan 2010, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy