diff options
Diffstat (limited to 'js/components/layout/bread-crumb.reel/bread-crumb.js')
-rwxr-xr-x | js/components/layout/bread-crumb.reel/bread-crumb.js | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.js b/js/components/layout/bread-crumb.reel/bread-crumb.js index 1824c7c3..d071e48a 100755 --- a/js/components/layout/bread-crumb.reel/bread-crumb.js +++ b/js/components/layout/bread-crumb.reel/bread-crumb.js | |||
@@ -7,7 +7,7 @@ | |||
7 | var Montage = require("montage/core/core").Montage, | 7 | var Montage = require("montage/core/core").Montage, |
8 | Component = require("montage/ui/component").Component; | 8 | Component = require("montage/ui/component").Component; |
9 | 9 | ||
10 | var Breadcrumb = exports.Breadcrumb = Montage.create(Component, { | 10 | exports.Breadcrumb = Montage.create(Component, { |
11 | 11 | ||
12 | _container:{ | 12 | _container:{ |
13 | value:null | 13 | value:null |
@@ -32,23 +32,10 @@ var Breadcrumb = exports.Breadcrumb = Montage.create(Component, { | |||
32 | 32 | ||
33 | deserializedFromTemplate : { | 33 | deserializedFromTemplate : { |
34 | value: function() { | 34 | value: function() { |
35 | this.eventManager.addEventListener( "appLoaded", this, false); | ||
36 | this.eventManager.addEventListener( "breadCrumbTrail", this, false); | 35 | this.eventManager.addEventListener( "breadCrumbTrail", this, false); |
37 | } | 36 | } |
38 | }, | 37 | }, |
39 | 38 | ||
40 | handleAppLoaded : { | ||
41 | value: function() { | ||
42 | |||
43 | Object.defineBinding(this, "container", { | ||
44 | boundObject: this.application.ninja, | ||
45 | boundObjectPropertyPath: "currentSelectedContainer", | ||
46 | oneway: false | ||
47 | }); | ||
48 | |||
49 | } | ||
50 | }, | ||
51 | |||
52 | createContainerElements: { | 39 | createContainerElements: { |
53 | value: function() { | 40 | value: function() { |
54 | var parentNode; | 41 | var parentNode; |