aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/document-controller.js
diff options
context:
space:
mode:
authorJohn Mayhew2012-05-10 15:27:40 -0700
committerJohn Mayhew2012-05-10 15:27:40 -0700
commitd5995fd5dfcc0cb0cb2361b1099911fa4fc51189 (patch)
tree3a683ac5ddcb3fc7fa4111e7769c15abb31c1ec4 /js/controllers/document-controller.js
parentba64dfa1d64969e290f15459a826171468fe3550 (diff)
parent632a53278826a33506b302b573ee0681840f2d6c (diff)
downloadninja-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-xjs/controllers/document-controller.js4
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);