diff options
author | Valerio Virgillito | 2012-06-12 11:21:21 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-12 11:21:21 -0700 |
commit | 9d85430967237bd01334212de6f04db3bd222148 (patch) | |
tree | a6cb08ed28695c46c73b21a780b215661ba222de /js | |
parent | c08220b45b9a22e87955671a5223c6c55b78053b (diff) | |
download | ninja-9d85430967237bd01334212de6f04db3bd222148.tar.gz |
adding more missing properties to the serialization
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
4 files changed, 54 insertions, 0 deletions
diff --git a/js/components/ui/file-input.reel/file-input.js b/js/components/ui/file-input.reel/file-input.js index 584380ec..adec6d84 100755 --- a/js/components/ui/file-input.reel/file-input.js +++ b/js/components/ui/file-input.reel/file-input.js | |||
@@ -9,6 +9,16 @@ var Montage = require("montage/core/core").Montage, | |||
9 | 9 | ||
10 | var FileInput = exports.FileInput = Montage.create(Component, { | 10 | var FileInput = exports.FileInput = Montage.create(Component, { |
11 | 11 | ||
12 | inputField: { | ||
13 | value: null, | ||
14 | serializable: true | ||
15 | }, | ||
16 | |||
17 | filePathField: { | ||
18 | value: null, | ||
19 | serializable: true | ||
20 | }, | ||
21 | |||
12 | _filePath: { | 22 | _filePath: { |
13 | enumerable: false, | 23 | enumerable: false, |
14 | value: "" | 24 | value: "" |
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, | |||
12 | //Exporting as MaterialsPopup | 12 | //Exporting as MaterialsPopup |
13 | exports.MaterialsPopup = Montage.create(Component, { | 13 | exports.MaterialsPopup = Montage.create(Component, { |
14 | //////////////////////////////////////////////////////////////////// | 14 | //////////////////////////////////////////////////////////////////// |
15 | okButton: { | ||
16 | value: null, | ||
17 | serializable: true | ||
18 | }, | ||
19 | |||
20 | cancelButton: { | ||
21 | value: null, | ||
22 | serializable: true | ||
23 | }, | ||
24 | |||
25 | materialTitle: { | ||
26 | value: null, | ||
27 | serializable: true | ||
28 | }, | ||
29 | |||
15 | // Material Properties | 30 | // Material Properties |
16 | _materialName: { | 31 | _materialName: { |
17 | enumerable: true, | 32 | 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, { | |||
12 | value: null | 12 | value: null |
13 | }, | 13 | }, |
14 | 14 | ||
15 | addStyleButton: { | ||
16 | value: null, | ||
17 | serializable: true | ||
18 | }, | ||
19 | |||
20 | propertyField: { | ||
21 | value: null | ||
22 | }, | ||
23 | |||
24 | valueField: { | ||
25 | value: null | ||
26 | }, | ||
27 | |||
28 | propertyNames: { | ||
29 | value: null | ||
30 | }, | ||
31 | |||
15 | delegate : { value: null }, | 32 | delegate : { value: null }, |
16 | disabledClass : { value: 'style-item-disabled' }, | 33 | disabledClass : { value: 'style-item-disabled' }, |
17 | editingStyleClass : { value: 'edit-style-item' }, | 34 | 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, | |||
9 | ShorthandProps = require("js/panels/CSSPanel/css-shorthand-map"); | 9 | ShorthandProps = require("js/panels/CSSPanel/css-shorthand-map"); |
10 | 10 | ||
11 | exports.StyleDeclaration = Montage.create(Component, { | 11 | exports.StyleDeclaration = Montage.create(Component, { |
12 | arrayController: { | ||
13 | value: null | ||
14 | }, | ||
15 | |||
16 | styleComponent: { | ||
17 | value: null | ||
18 | }, | ||
19 | |||
20 | repetition: { | ||
21 | value: null | ||
22 | }, | ||
23 | |||
12 | cssText : { value: null }, | 24 | cssText : { value: null }, |
13 | focusDelegate : { value: null }, | 25 | focusDelegate : { value: null }, |
14 | needsSort : { value: null }, | 26 | needsSort : { value: null }, |