Small fix for unsaved changes when using save as feature
This commit is contained in:
1 parent
ad45b63e79
commit
29a7490af2
1 file changed
+1
-1
@@ -37,7 +37,7 @@ function(angular, _, config) {
|
||||
});
|
||||
|
||||
this.ignoreChanges = function() {
|
||||
if (!self.current) { return true; }
|
||||
if (!self.current || !self.current.meta) { return true; }
|
||||
|
||||
var meta = self.current.meta;
|
||||
return !meta.canSave || meta.fromScript || meta.fromFile;
|
||||
|
||||
Reference in new issue
Block a user