aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/bread-crumb.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/layout/bread-crumb.reel')
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.html17
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.js2
2 files changed, 6 insertions, 13 deletions
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.html b/js/components/layout/bread-crumb.reel/bread-crumb.html
index 19707632..2c6d941f 100755
--- a/js/components/layout/bread-crumb.reel/bread-crumb.html
+++ b/js/components/layout/bread-crumb.reel/bread-crumb.html
@@ -40,22 +40,15 @@ POSSIBILITY OF SUCH DAMAGE.
40 "owner": { 40 "owner": {
41 "prototype": "js/components/layout/bread-crumb.reel[Breadcrumb]", 41 "prototype": "js/components/layout/bread-crumb.reel[Breadcrumb]",
42 "properties": { 42 "properties": {
43 "element": {"#": "breadcrumbTrail"}, 43 "element": {"#": "breadcrumbTrail"}
44 "breadcrumbBt": {"@": "breadCrumbButton"}
45 } 44 }
46 }, 45 },
47 46
48 "breadCrumbButton": { 47 "breadcrumbButton": {
49 "prototype": "montage/ui/native/button.reel", 48 "prototype": "js/components/layout/bread-crumb-button.reel",
50 "properties": { 49 "properties": {
51 "element": {"#": "breadcrumb_button"} 50 "element": {"#": "breadcrumbButton"}
52 }, 51 },
53 "listeners": [
54 {
55 "type": "action",
56 "listener": {"@": "owner"}
57 }
58 ],
59 "bindings": { 52 "bindings": {
60 "label": {"<-": "@buttonsList.objectAtCurrentIteration.label"}, 53 "label": {"<-": "@buttonsList.objectAtCurrentIteration.label"},
61 "value": {"<-": "@buttonsList.objectAtCurrentIteration.nodeUuid"} 54 "value": {"<-": "@buttonsList.objectAtCurrentIteration.nodeUuid"}
@@ -94,7 +87,7 @@ POSSIBILITY OF SUCH DAMAGE.
94 87
95 <section data-montage-id="breadcrumbTrail" class="breadcrumbTrail"> 88 <section data-montage-id="breadcrumbTrail" class="breadcrumbTrail">
96 <div data-montage-id="breadcrumb_container"> 89 <div data-montage-id="breadcrumb_container">
97 <button data-montage-id="breadcrumb_button" class="nj-skinned"></button> 90 <div data-montage-id="breadcrumbButton"></div>
98 </div> 91 </div>
99 <div data-montage-id="disabledCondition" class="panelDisabled"></div> 92 <div data-montage-id="disabledCondition" class="panelDisabled"></div>
100 </section> 93 </section>
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.js b/js/components/layout/bread-crumb.reel/bread-crumb.js
index 40494bc3..efa0dfd5 100755
--- a/js/components/layout/bread-crumb.reel/bread-crumb.js
+++ b/js/components/layout/bread-crumb.reel/bread-crumb.js
@@ -87,7 +87,7 @@ exports.Breadcrumb = Montage.create(Component, {
87 87
88 prepareForDraw: { 88 prepareForDraw: {
89 value: function() { 89 value: function() {
90 this.breadcrumbBt.addEventListener("action", this, false); 90 this.addEventListener("action", this, false);
91 this.addPropertyChangeListener("currentDocument.model.domContainer", this) 91 this.addPropertyChangeListener("currentDocument.model.domContainer", this)
92 } 92 }
93 }, 93 },