From 689558ff2c6c347508768542f3d81e24f4dfb818 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 1 Nov 2010 10:37:39 +0800 Subject: [PATCH] Sample/Window.js --- Sample/Window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sample/Window.js b/Sample/Window.js index fb9437910..1be744ba1 100644 --- a/Sample/Window.js +++ b/Sample/Window.js @@ -1973,7 +1973,7 @@ Window=new XObject({ // this.activePath = false; // stop editing!!!! if (this.get('/Editor').dirty) { - if (!this.get('/Editor.view').checkSyntax()) { + if (!this.get('/Editor.buffer').checkSyntax()) { this.get('/StandardErrorDialog').show("Fix errors in code and save.."); return; // error Dialog -- 2.39.2