Fix a bug where syntax wasn't re-detected after save-as.

This commit is contained in:
Thomas Wilburn 2014-01-23 08:38:20 -08:00
parent 3b82bb37b3
commit 3abdb574e6

View file

@ -70,6 +70,7 @@ define([
self.file = file;
self.fileName = file.entry.name;
delete self.syntaxMode;
self.detectSyntax();
}, function(err) {
dialog(err);
deferred.fail();