From 058037bba2d10cb98fc51cd12df77ed1ffe12df7 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Tue, 19 Sep 2017 14:10:34 +0200 Subject: [PATCH] Remove call codeMirror.save() codeMirror.toTextArea() already calls codeMirror.save(). Change-Id: Ifeb8c482149540832d6389a9337baffbf9ec03fb --- resources/ext.CodeMirror.js | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/ext.CodeMirror.js b/resources/ext.CodeMirror.js index d5d4c3e9..2cf1099d 100644 --- a/resources/ext.CodeMirror.js +++ b/resources/ext.CodeMirror.js @@ -334,7 +334,6 @@ if ( codeMirror ) { scrollTop = codeMirror.getScrollInfo().top; setCodeEditorPreference( false ); - codeMirror.save(); codeMirror.toTextArea(); codeMirror = null; $.fn.textSelection = origTextSelection;