diff options
author | Jose Antonio Marquez | 2012-05-18 09:52:15 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-05-18 09:52:15 -0700 |
commit | 6c70c8bf28c2239d29f3abecc8a7ea59b2860bab (patch) | |
tree | c506b28bc82f74072f324d920105737726d5ecaf /js/panels/properties.reel/properties.js | |
parent | 015df99dff8306f8839affd22cdd7689eb00e180 (diff) | |
parent | 24d1873302b2fffc25d254e15e8aa36f59eedb88 (diff) | |
download | ninja-6c70c8bf28c2239d29f3abecc8a7ea59b2860bab.tar.gz |
Merge branch 'refs/heads/Ninja-DOM-Architecture' into Document
Diffstat (limited to 'js/panels/properties.reel/properties.js')
-rwxr-xr-x | js/panels/properties.reel/properties.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/js/panels/properties.reel/properties.js b/js/panels/properties.reel/properties.js index fa62c850..4d048472 100755 --- a/js/panels/properties.reel/properties.js +++ b/js/panels/properties.reel/properties.js | |||
@@ -55,7 +55,6 @@ exports.Properties = Montage.create(Component, { | |||
55 | } | 55 | } |
56 | 56 | ||
57 | this.eventManager.addEventListener("openDocument", this, false); | 57 | this.eventManager.addEventListener("openDocument", this, false); |
58 | this.eventManager.addEventListener("switchDocument", this, false); | ||
59 | 58 | ||
60 | this.elementId.element.addEventListener("blur", this, false); | 59 | this.elementId.element.addEventListener("blur", this, false); |
61 | this.elementId.element.addEventListener("focus", this, false); | 60 | this.elementId.element.addEventListener("focus", this, false); |
@@ -76,21 +75,6 @@ exports.Properties = Montage.create(Component, { | |||
76 | } | 75 | } |
77 | }, | 76 | }, |
78 | 77 | ||
79 | handleSwitchDocument: { | ||
80 | value: function(){ | ||
81 | // For now always assume that the stage is selected by default | ||
82 | if(this.application.ninja.selectedElements.length === 0) { | ||
83 | this.displayStageProperties(); | ||
84 | } else { | ||
85 | if(this.application.ninja.selectedElements.length === 1) { | ||
86 | this.displayElementProperties(this.application.ninja.selectedElements[0]); | ||
87 | } else { | ||
88 | this.displayGroupProperties(this.application.ninja.selectedElements); | ||
89 | } | ||
90 | } | ||
91 | } | ||
92 | }, | ||
93 | |||
94 | /** | 78 | /** |
95 | * Blur and Key up to handle change in the Element ID field. | 79 | * Blur and Key up to handle change in the Element ID field. |
96 | */ | 80 | */ |