Closed (fixed)
Project:
Link to content
Version:
5.x-1.7
Component:
Code: Javascript
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2009 at 15:25 UTC
Updated:
26 Mar 2011 at 20:11 UTC
The Insert and Cancel buttons are missing when the Linktomenu and Linktonode popups appear.
This is because the vertical size of the popup window is too small, and it cannot be manually resized. Even if the popup were to be specified larger, the buttons would be pushed off the bottom as the popup content grows.
Edit linktocontent/tinymce_plugins/linktonode/editor_plugin.js
and linktocontent/tinymce_plugins/linktomenu/editor_plugin.js
Change 295 to 400 in
line 37: template['height'] = 295;
Change resizable: "no" to resizable: "yes" in
line 43: tinyMCE.openWindow(template, {editor_id: editor_id, inline: "no", resizable: "no"});
editor_plugin.js has all the newline characters stripped, to I edited editor_plugin.src.js and renamed it editor_plugin.js. Remember that these file have to be copied under the TinyMCE diretory tree before these changes will take effect.
Comments
Comment #1
DrewMathers commented