diff options
author | Ananya Sen | 2012-05-07 17:19:19 -0700 |
---|---|---|
committer | Ananya Sen | 2012-05-07 17:19:19 -0700 |
commit | a00be41613cb952470cc952aa63f67e61745379a (patch) | |
tree | 8c72a5e2d16e893758090dfa691c3002c9d42768 /js/controllers/document-controller.js | |
parent | c51a1317a767dcd5dfded822815305d4330f4892 (diff) | |
download | ninja-a00be41613cb952470cc952aa63f67e61745379a.tar.gz |
fixed javascript errors
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
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); |