From 0e1a276f19ea70009c5a649e9667861d7c346a7e Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 6 Jun 2012 00:25:27 -0700 Subject: first iteration of adding serializable to ninja plus other changes to run the latest montage Signed-off-by: Valerio Virgillito --- js/components/layout/document-bar.reel/document-bar.html | 2 -- js/components/layout/document-bar.reel/document-bar.js | 7 ++++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'js/components/layout/document-bar.reel') diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index a35b5590..889160ad 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html @@ -45,8 +45,6 @@ "prototype": "js/components/layout/document-bar.reel", "properties": { "element": {"#": "documentBar"}, - "designView": {"#": "design"}, - "codeView": {"#": "code"}, "zoomControl": {"@": "hottext1"} } } diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 1cb0bd90..74ba11c2 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js @@ -61,7 +61,8 @@ exports.DocumentBar = Montage.create(Component, { }, zoomControl: { - value: null + value: null, + serializable: true }, _type: { @@ -148,8 +149,8 @@ exports.DocumentBar = Montage.create(Component, { prepareForDraw: { value: function() { - this.designView.addEventListener("click", this, false); - this.codeView.addEventListener("click", this, false); +// this.designView.addEventListener("click", this, false); +// this.codeView.addEventListener("click", this, false); } }, -- cgit v1.2.3