From: Marco Zanon Date: Tue, 24 Jan 2012 17:36:07 +0000 (+0000) Subject: Fixed a bug in $.js which prevented a wysiwyg box to be populated with the original... X-Git-Tag: SVN-to-Git~166 X-Git-Url: https://gitweb.marcozanon.com/?a=commitdiff_plain;h=39ed47fe95888b7a8dc144b744101524960fb0f3;p=Macaco Fixed a bug in $.js which prevented a wysiwyg box to be populated with the original content when enabled. --- diff --git a/src/resources/javascript/$.js b/src/resources/javascript/$.js index 3dbc80e..baa8e29 100644 --- a/src/resources/javascript/$.js +++ b/src/resources/javascript/$.js @@ -87,7 +87,7 @@ function $enableWysiwygBoxEditor(id, content) { editor.onInit.add(function(editor) { editor.setContent(content); tinyMCE.dom.Event.add(editor.getWin(), 'blur', function(event) { - m_messagesInterface.fireMessage(id, 'onBlur', {'text': editor.getContent()}); + m_messageInterface.fireMessage(id, 'onBlur', {'text': editor.getContent()}); }); }); },