diff options
author | Ananya Sen | 2012-05-20 15:16:06 -0700 |
---|---|---|
committer | Ananya Sen | 2012-05-20 15:16:06 -0700 |
commit | c3c2ffc8d057660b7c42b45442885cd0d2d598bc (patch) | |
tree | a7696419538abda2a7534c33f7200c4e3c3eae5d /js/document/models/text.js | |
parent | 6f5ffa17c72dd0aef7a02e3496154514750143c2 (diff) | |
download | ninja-c3c2ffc8d057660b7c42b45442885cd0d2d598bc.tar.gz |
use documents parent container property
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/document/models/text.js')
-rwxr-xr-x | js/document/models/text.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/document/models/text.js b/js/document/models/text.js index d21666d0..fe02953c 100755 --- a/js/document/models/text.js +++ b/js/document/models/text.js | |||
@@ -59,7 +59,7 @@ exports.TextDocumentModel = Montage.create(BaseDocumentModel, { | |||
59 | success = true; | 59 | success = true; |
60 | } | 60 | } |
61 | // | 61 | // |
62 | this.views.code.textParentContainer.removeChild(this.views.code.textViewContainer); | 62 | this.parentContainer.removeChild(this.views.code.textViewContainer); |
63 | this.views.code.restoreAllPanels(); | 63 | this.views.code.restoreAllPanels(); |
64 | this.views.code.showCodeViewBar(false); | 64 | this.views.code.showCodeViewBar(false); |
65 | this.views.code = null; | 65 | this.views.code = null; |