aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorJose Antonio Marquez Russo2012-02-27 14:28:59 -0800
committerJose Antonio Marquez Russo2012-02-27 14:28:59 -0800
commitaffdf784f3dae1febe279a214857e6fe3ba56db1 (patch)
tree5c352c198ed7404f3fe0a9c5915e1727d3003f9f /js/document
parent7e63b5d0b6990b6c0ec0385d35534b91982ac672 (diff)
parent15d00c49b522aa471d1ccfbbd33f5c0e721eb89e (diff)
downloadninja-affdf784f3dae1febe279a214857e6fe3ba56db1.tar.gz
Merge pull request #21 from ananyasen/FileIO
FileIO branch pull request
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/html-document.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index 76436732..75628731 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -679,6 +679,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
679 if(typeof this.application.ninja.selectedElements !== 'undefined'){ 679 if(typeof this.application.ninja.selectedElements !== 'undefined'){
680 this.selectionModel = this.application.ninja.selectedElements; 680 this.selectionModel = this.application.ninja.selectedElements;
681 } 681 }
682
683 this.draw3DGrid = this.application.ninja.appModel.show3dGrid;
682 } 684 }
683 }, 685 },
684 686
@@ -700,6 +702,8 @@ exports.HTMLDocument = Montage.create(TextDocument, {
700 this.application.ninja.stage._scrollLeft = this.savedTopScroll; 702 this.application.ninja.stage._scrollLeft = this.savedTopScroll;
701 } 703 }
702 this.application.ninja.stage.handleScroll(); 704 this.application.ninja.stage.handleScroll();
705
706 this.application.ninja.appModel.show3dGrid = this.draw3DGrid;
703 } 707 }
704 } 708 }
705 //////////////////////////////////////////////////////////////////// 709 ////////////////////////////////////////////////////////////////////