From 9d85430967237bd01334212de6f04db3bd222148 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 12 Jun 2012 11:21:21 -0700 Subject: adding more missing properties to the serialization Signed-off-by: Valerio Virgillito --- .../Materials/materials-popup.reel/materials-popup.js | 15 +++++++++++++++ js/panels/css-panel/css-style.reel/css-style.js | 17 +++++++++++++++++ .../style-declaration.reel/style-declaration.js | 12 ++++++++++++ 3 files changed, 44 insertions(+) (limited to 'js/panels') diff --git a/js/panels/Materials/materials-popup.reel/materials-popup.js b/js/panels/Materials/materials-popup.reel/materials-popup.js index a4f758cf..0a32447e 100755 --- a/js/panels/Materials/materials-popup.reel/materials-popup.js +++ b/js/panels/Materials/materials-popup.reel/materials-popup.js @@ -12,6 +12,21 @@ var Montage = require("montage/core/core").Montage, //Exporting as MaterialsPopup exports.MaterialsPopup = Montage.create(Component, { //////////////////////////////////////////////////////////////////// + okButton: { + value: null, + serializable: true + }, + + cancelButton: { + value: null, + serializable: true + }, + + materialTitle: { + value: null, + serializable: true + }, + // Material Properties _materialName: { enumerable: true, diff --git a/js/panels/css-panel/css-style.reel/css-style.js b/js/panels/css-panel/css-style.reel/css-style.js index 29b3b34d..294d49a9 100644 --- a/js/panels/css-panel/css-style.reel/css-style.js +++ b/js/panels/css-panel/css-style.reel/css-style.js @@ -12,6 +12,23 @@ exports.CssStyle = Montage.create(Component, { value: null }, + addStyleButton: { + value: null, + serializable: true + }, + + propertyField: { + value: null + }, + + valueField: { + value: null + }, + + propertyNames: { + value: null + }, + delegate : { value: null }, disabledClass : { value: 'style-item-disabled' }, editingStyleClass : { value: 'edit-style-item' }, diff --git a/js/panels/css-panel/style-declaration.reel/style-declaration.js b/js/panels/css-panel/style-declaration.reel/style-declaration.js index 6187989b..b9205ba7 100644 --- a/js/panels/css-panel/style-declaration.reel/style-declaration.js +++ b/js/panels/css-panel/style-declaration.reel/style-declaration.js @@ -9,6 +9,18 @@ var Montage = require("montage/core/core").Montage, ShorthandProps = require("js/panels/CSSPanel/css-shorthand-map"); exports.StyleDeclaration = Montage.create(Component, { + arrayController: { + value: null + }, + + styleComponent: { + value: null + }, + + repetition: { + value: null + }, + cssText : { value: null }, focusDelegate : { value: null }, needsSort : { value: null }, -- cgit v1.2.3