diff options
author | Kruti Shah | 2012-04-19 13:48:28 -0700 |
---|---|---|
committer | Kruti Shah | 2012-04-19 13:48:28 -0700 |
commit | b7d5b9e9b69644cdafdcc9b7ef2fe2674f35db18 (patch) | |
tree | 6c30a28fa9a691bedf95710aad8898ad8cf67914 /js/tools | |
parent | d6f3f53a86f4efc45eabb519c94456731f6425e1 (diff) | |
download | ninja-b7d5b9e9b69644cdafdcc9b7ef2fe2674f35db18.tar.gz |
BreadCrumb Bug Fix
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/tools')
-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 | } |