diff options
author | Valerio Virgillito | 2012-05-16 16:06:56 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-16 16:06:56 -0700 |
commit | 92fcb770aff434e994e7a39a61d8fac4a017dca0 (patch) | |
tree | e385beee8f2694596f6305bf90eb7eb4521de2e2 /js/ninja.reel/ninja.js | |
parent | bdd4b24c9e738c65ab8f6f9942358c59fe60edf1 (diff) | |
parent | c37a876b373ddc7cb19277aaeaa6bb2d2d5a50ac (diff) | |
download | ninja-92fcb770aff434e994e7a39a61d8fac4a017dca0.tar.gz |
Merge branch 'refs/heads/master' into dom-architecture
Conflicts:
js/document/templates/montage-html/package.json
js/io/system/ninjalibrary.json
node_modules/descriptor.json
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/ninja.reel/ninja.js')
-rwxr-xr-x | js/ninja.reel/ninja.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 87167d4c..9f0456ae 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js | |||
@@ -152,9 +152,9 @@ exports.Ninja = Montage.create(Component, { | |||
152 | 152 | ||
153 | this.application.ninja = this; | 153 | this.application.ninja = this; |
154 | 154 | ||
155 | this.toolsData.selectedTool = this.toolsData.defaultToolsData[0]; | 155 | this.toolsData.selectedTool = this.toolsData.defaultToolsData[this.application.ninja.toolsData.selectionToolIndex]; |
156 | this.toolsData.defaultSubToolsData = this.toolsData.defaultToolsData[7].subtools; | 156 | this.toolsData.defaultSubToolsData = this.toolsData.defaultToolsData[this.application.ninja.toolsData.shapeToolIndex].subtools; |
157 | this.toolsData.selectedSubTool = this.toolsData.defaultToolsData[7].subtools[1]; | 157 | this.toolsData.selectedSubTool = this.toolsData.defaultToolsData[this.application.ninja.toolsData.shapeToolIndex].subtools[1]; |
158 | this.toolsData.selectedToolInstance = this.toolsList[this.toolsData.selectedTool.action]; | 158 | this.toolsData.selectedToolInstance = this.toolsList[this.toolsData.selectedTool.action]; |
159 | 159 | ||
160 | this.setupGlobalHelpers(); | 160 | this.setupGlobalHelpers(); |