diff options
author | Valerio Virgillito | 2012-05-08 11:09:27 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-08 11:09:27 -0700 |
commit | 53747ce689ddcdc19e586b30d6f356b3b0539731 (patch) | |
tree | f3692860db5938bc70a3c980652e176c4a13b65d /js/controllers/document-controller.js | |
parent | 526e423e4a2734c2b139af23911e912452a4443f (diff) | |
parent | 157632ce32b4e71e1f08278cf712ff4f2c835226 (diff) | |
download | ninja-53747ce689ddcdc19e586b30d6f356b3b0539731.tar.gz |
Merge pull request #197 from ananyasen/code-editor-patch
Patch to fix code editor issue with latest montage
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); |