Commit 73063ee4 authored by webchick's avatar webchick
Browse files

Issue #2035083 by Wim Leers: Fix body in-place editing in teasers by triggering formUpdated event.

parent 04a84d71
......@@ -106,7 +106,14 @@ Drupal.editorAttach = function (field, format) {
// Attach the text editor.
Drupal.editors[format.editor].attach(field, format);
// Ensures form.js' 'formUpdated' event is triggered even for changes that
// happen within the text editor.
Drupal.editors[format.editor].onChange(field, function () {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment