diff options
Diffstat (limited to 'js/components/layout')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.html | 9 | ||||
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.js | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index fb505a7c..f073b0e7 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -78,12 +78,6 @@ POSSIBILITY OF SUCH DAMAGE. | |||
78 | } | 78 | } |
79 | }, | 79 | }, |
80 | 80 | ||
81 | "codeEditorControls":{ | ||
82 | "prototype": "js/code-editor/ui/code-editor-view-options.reel", | ||
83 | "properties": { | ||
84 | "element": {"#": "codeViewOptions"} | ||
85 | } | ||
86 | }, | ||
87 | 81 | ||
88 | "owner": { | 82 | "owner": { |
89 | "prototype": "js/components/layout/document-bar.reel", | 83 | "prototype": "js/components/layout/document-bar.reel", |
@@ -92,8 +86,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
92 | "zoomControl": {"@": "hottext1"}, | 86 | "zoomControl": {"@": "hottext1"}, |
93 | "btnDesign": {"#": "buttonDesign"}, | 87 | "btnDesign": {"#": "buttonDesign"}, |
94 | "btnCode": {"#": "buttonCode"}, | 88 | "btnCode": {"#": "buttonCode"}, |
95 | "btnPreview": {"#": "buttonPreview"}, | 89 | "btnPreview": {"#": "buttonPreview"} |
96 | "codeEditorControls": {"@": "codeEditorControls"} | ||
97 | } | 90 | } |
98 | } | 91 | } |
99 | } | 92 | } |
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index bf84c652..c1d77668 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js | |||
@@ -217,6 +217,9 @@ exports.DocumentBar = Montage.create(Component, { | |||
217 | value: function () { | 217 | value: function () { |
218 | // | 218 | // |
219 | this.showView('design', this.renderDesignView, this.btnDesign, this.btnCode); | 219 | this.showView('design', this.renderDesignView, this.btnDesign, this.btnCode); |
220 | |||
221 | //todo - temp | ||
222 | this.application.ninja.documentBar.codeEditorControls.visible = false; | ||
220 | } | 223 | } |
221 | }, | 224 | }, |
222 | //////////////////////////////////////////////////////////////////// | 225 | //////////////////////////////////////////////////////////////////// |
@@ -225,6 +228,9 @@ exports.DocumentBar = Montage.create(Component, { | |||
225 | value: function () { | 228 | value: function () { |
226 | // | 229 | // |
227 | this.showView('code', this.renderCodeView, this.btnCode, this.btnDesign); | 230 | this.showView('code', this.renderCodeView, this.btnCode, this.btnDesign); |
231 | |||
232 | //todo - temp | ||
233 | this.application.ninja.documentBar.codeEditorControls.visible = true; | ||
228 | } | 234 | } |
229 | }, | 235 | }, |
230 | //////////////////////////////////////////////////////////////////// | 236 | //////////////////////////////////////////////////////////////////// |