diff options
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 eb5341de..78eda1b7 100755 --- a/js/tools/SelectionTool.js +++ b/js/tools/SelectionTool.js | |||
@@ -224,10 +224,10 @@ 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.breadCrumbClick = true; | 227 | this.application.ninja.currentDocument.breadCrumbClick = true; |
228 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; | 228 | this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; |
229 | } else { | 229 | } else { |
230 | this.application.ninja.breadCrumbClick = true; | 230 | this.application.ninja.currentDocument.breadCrumbClick = true; |
231 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; | 231 | this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; |
232 | } | 232 | } |
233 | } | 233 | } |