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.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'js/components/layout/document-bar.reel/document-bar.js') 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