Insert, Cancel buttons missing from popup
DrewMathers - July 16, 2009 - 15:25
| Project: | Link to content |
| Version: | 5.x-1.7 |
| Component: | Code: Javascript |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Description
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.
