diff options
author | John Mayhew | 2012-05-10 15:27:40 -0700 |
---|---|---|
committer | John Mayhew | 2012-05-10 15:27:40 -0700 |
commit | d5995fd5dfcc0cb0cb2361b1099911fa4fc51189 (patch) | |
tree | 3a683ac5ddcb3fc7fa4111e7769c15abb31c1ec4 /js/controllers/document-controller.js | |
parent | ba64dfa1d64969e290f15459a826171468fe3550 (diff) | |
parent | 632a53278826a33506b302b573ee0681840f2d6c (diff) | |
download | ninja-d5995fd5dfcc0cb0cb2361b1099911fa4fc51189.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into WorkingBranch
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 6d11bd0e..c6bf4c6b 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -427,10 +427,6 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
427 | 427 | ||
428 | closeDocument: { | 428 | closeDocument: { |
429 | value: function(id) { | 429 | value: function(id) { |
430 | if(this.activeDocument.needsSave === true){ | ||
431 | //if file dirty then alert user to save | ||
432 | } | ||
433 | |||
434 | var doc = this._findDocumentByUUID(id); | 430 | var doc = this._findDocumentByUUID(id); |
435 | 431 | ||
436 | var closeDocumentIndex = this._findIndexByUUID(id); | 432 | var closeDocumentIndex = this._findIndexByUUID(id); |