aboutsummaryrefslogtreecommitdiff
path: root/js/components/layout/bread-crumb.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-03-12 16:25:47 -0700
committerValerio Virgillito2012-03-12 16:25:47 -0700
commitc24f58c10231c30d3a8a4c9fb9a4f395dd746180 (patch)
treea0be6ee1daa3e21ed7df483721bc3116e4c20006 /js/components/layout/bread-crumb.reel
parentac2db49e51f82f5a1cf52ec854b047e007ffbdd7 (diff)
downloadninja-c24f58c10231c30d3a8a4c9fb9a4f395dd746180.tar.gz
Merge dhg637 DisabledState into master.
Committing Disabled states for tool-bar, tool-options, viewbar, breadcrumb Signed-off-by: Valerio Virgillito <valerio@motorola.com>
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 },