Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX Fixed regression where image and link popups don't open

  • Loading branch information...
commit f3137e5b2b8071bce794f1f7a105c575f09e1492 1 parent 5813a94
@halkyon halkyon authored
View
10 thirdparty/tinymce_ssbuttons/editor_plugin_src.js
@@ -31,12 +31,12 @@
ed.addButton('sslink', {title : ed.getLang('tinymce_ssbuttons.insertlink'), cmd : 'sslink', 'class' : 'mce_link'});
ed.addButton('ssimage', {title : ed.getLang('tinymce_ssbuttons.insertimage'), cmd : 'ssimage', 'class' : 'mce_image'});
- ed.addCommand("sslink", function(ed) {
- jQuery('#Form_EditorToolbarLinkForm').entwine('ss').open();
+ ed.addCommand('sslink', function(ed) {
+ jQuery('#' + this.id).entwine('ss').openLinkDialog();
});
- ed.addCommand("ssimage", function(ed) {
- jQuery('#Form_EditorToolbarMediaForm').entwine('ss').open();
+ ed.addCommand('ssimage', function(ed) {
+ jQuery('#' + this.id).entwine('ss').openMediaDialog();
});
// Disable link button when no link is selected
@@ -49,4 +49,4 @@
// Adds the plugin class to the list of available TinyMCE plugins
tinymce.PluginManager.add("ssbuttons", tinymce.plugins.SSButtons);
-})();
+})();
View
2  thirdparty/tinymce_ssmacron/editor_plugin_src.js
@@ -29,7 +29,7 @@
}, {
plugin_url : url
});
- })
+ });
// Register buttons
ed.addButton('ssmacron', {
Please sign in to comment.
Something went wrong with that request. Please try again.