aboutsummaryrefslogtreecommitdiff
path: root/js/controllers/document-controller.js
diff options
context:
space:
mode:
authorhwc4872012-05-08 15:54:15 -0700
committerhwc4872012-05-08 15:54:15 -0700
commit7af54816bb6311421f976661d07b7776d5cd37c9 (patch)
treefd5b734778b01a9c938b0094b8dd7291f6648d3d /js/controllers/document-controller.js
parent91a9e02bff0397ec9b1f55fdf61cef72eb0d8a0f (diff)
parentd220c02e246b30509b28a47fa04916ca2b8122e4 (diff)
downloadninja-7af54816bb6311421f976661d07b7776d5cd37c9.tar.gz
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into 3DBugs
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);