diff options
Diffstat (limited to 'js/controllers/document-controller.js')
-rwxr-xr-x | js/controllers/document-controller.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 6a25420a..cf96208f 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -429,10 +429,6 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
429 | 429 | ||
430 | closeDocument: { | 430 | closeDocument: { |
431 | value: function(id) { | 431 | value: function(id) { |
432 | if(this.activeDocument.needsSave === true){ | ||
433 | //if file dirty then alert user to save | ||
434 | } | ||
435 | |||
436 | var doc = this._findDocumentByUUID(id); | 432 | var doc = this._findDocumentByUUID(id); |
437 | 433 | ||
438 | var closeDocumentIndex = this._findIndexByUUID(id); | 434 | var closeDocumentIndex = this._findIndexByUUID(id); |