diff options
author | Jonathan Duran | 2012-03-23 07:34:11 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-03-23 07:34:11 -0700 |
commit | e93827d6c157c7648eb52e6c10b7f458b215b580 (patch) | |
tree | 3daffe612fda7139a386d2284a48344403abdcb1 /js/tools | |
parent | 4bf42c311178d803012b506ec955ceaa5ef9547b (diff) | |
download | ninja-e93827d6c157c7648eb52e6c10b7f458b215b580.tar.gz |
Timeline : Bug Fix : IKNINJA 1374
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/tools')
-rwxr-xr-x | js/tools/SelectionTool.js | 2 |
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 | } |