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/components | |
parent | d6f3f53a86f4efc45eabb519c94456731f6425e1 (diff) | |
download | ninja-b7d5b9e9b69644cdafdcc9b7ef2fe2674f35db18.tar.gz |
BreadCrumb Bug Fix
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/components')
-rwxr-xr-x | js/components/layout/bread-crumb.reel/bread-crumb.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.js b/js/components/layout/bread-crumb.reel/bread-crumb.js index 4776265a..faf5e2f8 100755 --- a/js/components/layout/bread-crumb.reel/bread-crumb.js +++ b/js/components/layout/bread-crumb.reel/bread-crumb.js | |||
@@ -71,7 +71,7 @@ exports.Breadcrumb = Montage.create(Component, { | |||
71 | 71 | ||
72 | // This is always the top container which is now hardcoded to body | 72 | // This is always the top container which is now hardcoded to body |
73 | this.containerElements.unshift({"node": parentNode, "nodeUuid":parentNode.uuid, "label": "Body"}); | 73 | this.containerElements.unshift({"node": parentNode, "nodeUuid":parentNode.uuid, "label": "Body"}); |
74 | 74 | NJevent("breadCrumbBinding",this) | |
75 | 75 | ||
76 | 76 | ||
77 | } | 77 | } |
@@ -80,7 +80,7 @@ exports.Breadcrumb = Montage.create(Component, { | |||
80 | handleAction: { | 80 | handleAction: { |
81 | value: function(evt) { | 81 | value: function(evt) { |
82 | 82 | ||
83 | this.application.ninja.breadCrumbClick=true; | 83 | this.application.ninja.currentDocument.breadCrumbClick=true; |
84 | if(evt.target.value === this.container.uuid) { | 84 | if(evt.target.value === this.container.uuid) { |
85 | return; | 85 | return; |
86 | } | 86 | } |