diff options
author | Valerio Virgillito | 2012-02-15 00:01:28 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-15 00:01:28 -0800 |
commit | d1bc0d3e8b3ab3341105c3e29dd2ca11a20d8931 (patch) | |
tree | 5f8d34d3782f0c2eaaa1c06e1b90da7b9ccaf333 /js/panels/Components | |
parent | 68f8788c80d7f8d7815aca65ffabaa40b9434705 (diff) | |
download | ninja-d1bc0d3e8b3ab3341105c3e29dd2ca11a20d8931.tar.gz |
Adding the button and the dropdown control.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/Components')
-rw-r--r-- | js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js index 4a0ac2b5..987cd6b5 100644 --- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js +++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js | |||
@@ -164,6 +164,7 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component | |||
164 | row.prop = props.name; | 164 | row.prop = props.name; |
165 | row.defaultValue = props["default"]; | 165 | row.defaultValue = props["default"]; |
166 | row.label = props.name; | 166 | row.label = props.name; |
167 | row.items = props.possibleValues; | ||
167 | 168 | ||
168 | section.Section.push([row]); | 169 | section.Section.push([row]); |
169 | } | 170 | } |
@@ -192,6 +193,8 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component | |||
192 | return "textbox"; | 193 | return "textbox"; |
193 | case "boolean": | 194 | case "boolean": |
194 | return "checkbox"; | 195 | return "checkbox"; |
196 | case "select": | ||
197 | return "dropdown"; | ||
195 | default: | 198 | default: |
196 | alert("Conversion not implemented for ", type); | 199 | alert("Conversion not implemented for ", type); |
197 | } | 200 | } |