Fix a bug where syntax wasn't re-detected after save-as.
This commit is contained in:
parent
3b82bb37b3
commit
3abdb574e6
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ define([
|
|||
self.file = file;
|
||||
self.fileName = file.entry.name;
|
||||
delete self.syntaxMode;
|
||||
self.detectSyntax();
|
||||
}, function(err) {
|
||||
dialog(err);
|
||||
deferred.fail();
|
||||
|
|
Loading…
Reference in a new issue