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) {
|
ed.onNodeChange.add(function(ed, o) {
|
||||||
|
if ($('Form_EditorToolbarLinkForm').updateSelection) {
|
||||||
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
||||||
$('Form_EditorToolbarLinkForm').respondToNodeChange(ed);
|
$('Form_EditorToolbarLinkForm').respondToNodeChange(ed);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
ed.onKeyUp.add(function(ed, o) {
|
ed.onKeyUp.add(function(ed, o) {
|
||||||
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
$('Form_EditorToolbarLinkForm').updateSelection(ed);
|
||||||
|
Loading…
Reference in New Issue
Block a user