Closed (fixed)
Project:
TinyMCE Node Picker
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2009 at 15:58 UTC
Updated:
3 Dec 2009 at 16:08 UTC
Hi!
I've come across this issue today - I've been using the module on 2 sites, on one site it works fine, on another site, due to something I have installed (i'm not actually sure what!) the popups from tinymce are iframes rather than separate windows. This was resulting in the module not working correctly - clicking 'insert link' just led through to the node itself displaying within the iframe.
My fix for this was to change line 3 of dialog.js from:
var parent = (typeof window.opener != 'undefined') ? window.opener : window.parent;
to, simply
var parent = this.parent;
this seems to make it work correctly on both sites, but I'm not sure how robust this is...
Comments
Comment #1
peter törnstrand commentedThis is resolved in BETA4.
Comment #2
andykisaragi commentedah great thanks
sorry started writing in this window before you made the last update!