From bd04bf2ea4066b68c36cc642fc228dddcdd2fa82 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Thu, 12 Feb 2015 22:58:28 -0300 Subject: [PATCH] fixing note edition --- mindplot/src/main/javascript/widget/NoteEditor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mindplot/src/main/javascript/widget/NoteEditor.js b/mindplot/src/main/javascript/widget/NoteEditor.js index f19ac237..3f453c49 100644 --- a/mindplot/src/main/javascript/widget/NoteEditor.js +++ b/mindplot/src/main/javascript/widget/NoteEditor.js @@ -54,6 +54,9 @@ mindplot.widget.NoteEditor = new Class({ 'height':80, 'resize':'none' }); + textArea.on("keypress", function(event) { + event.stopPropagation(); + }); form.append(textArea); if (model.getValue() != null){