From e65ec7fb9ffab9a09e1271d645e9f99a0e78c260 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 30 Jul 2012 10:47:05 -0400 Subject: [PATCH] minor changes --- lib/client/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index c2c29882..ae14b678 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -65,6 +65,7 @@ CloudCommander.Editor.CodeMirror = { /* removing keyBinding if set */ CloudCommander.keyBinded = false; + var lParent = this; var initCodeMirror_f = function(pValue){ CodeMirror(lCloudEditor,{ mode : 'xml', @@ -76,7 +77,7 @@ CloudCommander.Editor.CodeMirror = { autofocus : true, extraKeys: { //Сохранение - "Esc": this.hide(this) + "Esc": lParent.hide(this) } }); };