mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX: Check for functions existence
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96443 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3a63f1ab52
commit
e4d1eee3c1
@ -79,8 +79,10 @@
|
||||
});
|
||||
|
||||
ed.onNodeChange.add(function(ed, o) {
|
||||
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
||||
if ($('Form_EditorToolbarLinkForm').updateSelection) {
|
||||
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
||||
$('Form_EditorToolbarLinkForm').respondToNodeChange(ed);
|
||||
}
|
||||
});
|
||||
ed.onKeyUp.add(function(ed, o) {
|
||||
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
||||
@ -110,4 +112,4 @@
|
||||
|
||||
// Adds the plugin class to the list of available TinyMCE plugins
|
||||
tinymce.PluginManager.add("ssbuttons", tinymce.plugins.SSButtons);
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user