aboutsummaryrefslogtreecommitdiff
path: root/js/tools
diff options
context:
space:
mode:
Diffstat (limited to 'js/tools')
-rwxr-xr-xjs/tools/SelectionTool.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index f9411f48..3db51501 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -223,8 +223,10 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
223 HandleDoubleClick: { 223 HandleDoubleClick: {
224 value: function(event) { 224 value: function(event) {
225 if(this.application.ninja.selectedElements.length > 0) { 225 if(this.application.ninja.selectedElements.length > 0) {
226 this.application.ninja.breadCrumbClick = true;
226 this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]._element; 227 this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]._element;
227 } else { 228 } else {
229 this.application.ninja.breadCrumbClick = true;
228 this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; 230 this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot;
229 } 231 }
230 } 232 }