// no hiding with errors.
return true;
}
+ this.get('/Editor').activePath = false;
this.el.hide();
return true;
},
return true;
}
this.el.hide();
+ this.get('/Editor').activePath = false;
return true;
},
configure_event : function (self, object) {
id : "RightEditor",
pack : "add",
save : function() {
+ // make sure we have an active path..
+ if (!this.get('/Editor').activePath) {
+ return true;
+ }
+
var str = this.get('/Editor.buffer').toString();
if (!this.get('/Editor.buffer').checkSyntax()) {
this.get('/StandardErrorDialog').show("Fix errors in code and save..");