diff options
author | Nivesh Rajbhandari | 2012-05-01 09:17:07 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-05-01 09:17:07 -0700 |
commit | 286836b141f14e45d74e70ee00ba129480d2fe7f (patch) | |
tree | 195a57f7fa1eb9c48fa5bcf779516cdc759b74c6 /js/tools/SelectionTool.js | |
parent | c534f70e9af920d252d0d94151c9d6f884283b81 (diff) | |
parent | fb47c04b0a4d65f53d975311754aa0dd8a8a3f69 (diff) | |
download | ninja-286836b141f14e45d74e70ee00ba129480d2fe7f.tar.gz |
Merge branch 'refs/heads/ninja-internal' into StageWebTemplate
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-x | js/tools/SelectionTool.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js index f7b583b5..855c7b8c 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -222,10 +222,8 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
222 | value: function(event) { | 222 | value: function(event) { |
223 | if(this.application.ninja.selectedElements.length > 0) { | 223 | if(this.application.ninja.selectedElements.length > 0) { |
224 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; | 224 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; |
225 | console.log( "setting container to selected element" ); | ||
226 | } else { | 225 | } else { |
227 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; | 226 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; |
228 | console.log( "setting container to stage" ); | ||
229 | } | 227 | } |
230 | } | 228 | } |
231 | }, | 229 | }, |