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.html6
-rwxr-xr-xjs/components/layout/bread-crumb.reel/bread-crumb.js7
2 files changed, 6 insertions, 7 deletions
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.html b/js/components/layout/bread-crumb.reel/bread-crumb.html
index 9f24cee5..413f588d 100755
--- a/js/components/layout/bread-crumb.reel/bread-crumb.html
+++ b/js/components/layout/bread-crumb.reel/bread-crumb.html
@@ -61,9 +61,9 @@
61 } 61 }
62 } 62 }
63 }, 63 },
64 "Disable": { 64
65 "module": "montage/ui/condition.reel", 65 "disable": {
66 "name": "Condition", 66 "prototype": "montage/ui/condition.reel",
67 "properties": { 67 "properties": {
68 "element": {"#": "disabledCondition"} 68 "element": {"#": "disabledCondition"}
69 }, 69 },
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.js b/js/components/layout/bread-crumb.reel/bread-crumb.js
index ff1d1071..ab390fc6 100755
--- a/js/components/layout/bread-crumb.reel/bread-crumb.js
+++ b/js/components/layout/bread-crumb.reel/bread-crumb.js
@@ -13,7 +13,7 @@ exports.Breadcrumb = Montage.create(Component, {
13 value: true 13 value: true
14 }, 14 },
15 15
16 handleOnOpenDocument: { 16 handleOpenDocument: {
17 value: function(){ 17 value: function(){
18 this.disabled = false; 18 this.disabled = false;
19 } 19 }
@@ -27,7 +27,6 @@ exports.Breadcrumb = Montage.create(Component, {
27 } 27 }
28 }, 28 },
29 29
30
31 _container:{ 30 _container:{
32 value:null 31 value:null
33 }, 32 },
@@ -50,8 +49,8 @@ exports.Breadcrumb = Montage.create(Component, {
50 49
51 prepareForDraw: { 50 prepareForDraw: {
52 value: function() { 51 value: function() {
53 this.eventManager.addEventListener( "onOpenDocument", this, false); 52 this.eventManager.addEventListener("openDocument", this, false);
54 this.eventManager.addEventListener( "closeDocument", this, false); 53 this.eventManager.addEventListener("closeDocument", this, false);
55 this.breadcrumbBt.addEventListener("action", this, false); 54 this.breadcrumbBt.addEventListener("action", this, false);
56 } 55 }
57 }, 56 },