diff options
author | Pushkar Joshi | 2012-06-12 07:09:56 -0700 |
---|---|---|
committer | Pushkar Joshi | 2012-06-12 07:09:56 -0700 |
commit | fa1dcaaed3d0ed83ef7982ff198dd241c8b9670e (patch) | |
tree | fbd5b770dcbf6a23f2b10971f2485a4ef4451c9f /js/tools/SelectionTool.js | |
parent | 71bc93ad0d53a77d70c688b2b3aacf694dd1de91 (diff) | |
parent | 6854a72504f57903bd5de003e377f2aefb02d0da (diff) | |
download | ninja-fa1dcaaed3d0ed83ef7982ff198dd241c8b9670e.tar.gz |
Merge branch 'master' into pentool
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-x | js/tools/SelectionTool.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js index ed92b893..493f4aa2 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -224,9 +224,9 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, { | |||
224 | HandleDoubleClick: { | 224 | HandleDoubleClick: { |
225 | value: function(event) { | 225 | value: function(event) { |
226 | if(this.application.ninja.selectedElements.length > 0) { | 226 | if(this.application.ninja.selectedElements.length > 0) { |
227 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; | 227 | this.application.ninja.currentDocument.model.domContainer = this.application.ninja.selectedElements[0]; |
228 | } else { | 228 | } else { |
229 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.model.documentRoot; | 229 | this.application.ninja.currentDocument.model.domContainer = this.application.ninja.currentDocument.model.documentRoot; |
230 | } | 230 | } |
231 | } | 231 | } |
232 | }, | 232 | }, |