mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 14:14:27 +02:00
fix
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
var me;
|
||||
me = this;
|
||||
this.editor = this.find("editor");
|
||||
this.stbar = this.find("statusbar");
|
||||
this.bindKey("ALT-N", function() {
|
||||
return me.newFile();
|
||||
});
|
||||
@ -20,7 +19,7 @@
|
||||
this.bindKey("CTRL-S", function() {
|
||||
return me.saveFile();
|
||||
});
|
||||
this.filehandler = null;
|
||||
this.filehandler = this.args && this.args.length > 0 ? this.args[0].asFileHandler() : null;
|
||||
$(this.editor).on('input', function(e) {
|
||||
if (me.filehandler.dirty === true) {
|
||||
return;
|
||||
@ -74,7 +73,7 @@
|
||||
return this.read();
|
||||
}
|
||||
|
||||
openFile(fi) {
|
||||
openFile() {
|
||||
var me;
|
||||
me = this;
|
||||
return this.openDialog("FileDiaLog", function(dir, fname, d) {
|
||||
|
@ -9,5 +9,5 @@
|
||||
"version":"0.0.1-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"]
|
||||
"mimes":["text/.*"]
|
||||
}
|
Reference in New Issue
Block a user