diff options
author | Valerio Virgillito | 2012-06-01 17:12:37 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-01 17:12:37 -0700 |
commit | ac24875103799c7198b1b1cb01d15b415d118354 (patch) | |
tree | 1f34438d9559e76a8f01140f94cf3e438d061089 | |
parent | 8bbabd61e600e0a4aee72377c962d9147db1d8e1 (diff) | |
download | ninja-ac24875103799c7198b1b1cb01d15b415d118354.tar.gz |
removing the search bar component
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rwxr-xr-x | js/panels/components-panel.reel/components-panel.js | 6 | ||||
-rw-r--r-- | node_modules/components-data/searchfield.json | 20 |
2 files changed, 0 insertions, 26 deletions
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js index 3ad1763d..5a9d2ca5 100755 --- a/js/panels/components-panel.reel/components-panel.js +++ b/js/panels/components-panel.reel/components-panel.js | |||
@@ -40,11 +40,6 @@ exports.ComponentsPanel = Montage.create(Component, { | |||
40 | "component": "picasa-carousel" | 40 | "component": "picasa-carousel" |
41 | }, | 41 | }, |
42 | { | 42 | { |
43 | "text": "Search Bar", | ||
44 | "dataFile" : "node_modules/components-data/searchfield.json", | ||
45 | "component": "searchfield" | ||
46 | }, | ||
47 | { | ||
48 | "text": "Youtube Channel", | 43 | "text": "Youtube Channel", |
49 | "dataFile" : "node_modules/components-data/youtube-channel.json", | 44 | "dataFile" : "node_modules/components-data/youtube-channel.json", |
50 | "component": "youtube-channel" | 45 | "component": "youtube-channel" |
@@ -351,7 +346,6 @@ exports.ComponentsPanel = Montage.create(Component, { | |||
351 | el.setAttribute("type", "range"); | 346 | el.setAttribute("type", "range"); |
352 | break; | 347 | break; |
353 | case "textfield": | 348 | case "textfield": |
354 | case "searchfield": | ||
355 | el = document.application.njUtils.make("input", null, this.application.ninja.currentDocument); | 349 | el = document.application.njUtils.make("input", null, this.application.ninja.currentDocument); |
356 | document.application.njUtils.createModelForComponent(el, "Textfield"); | 350 | document.application.njUtils.createModelForComponent(el, "Textfield"); |
357 | el.setAttribute("type", "text"); | 351 | el.setAttribute("type", "text"); |
diff --git a/node_modules/components-data/searchfield.json b/node_modules/components-data/searchfield.json deleted file mode 100644 index 94c570d9..00000000 --- a/node_modules/components-data/searchfield.json +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | { | ||
2 | "component": "searchfield", | ||
3 | |||
4 | "module": "montage/ui/textfield.reel", | ||
5 | |||
6 | "name": "Textfield", | ||
7 | |||
8 | "properties": [ | ||
9 | { | ||
10 | "name": "valueBinding", | ||
11 | "type": "string", | ||
12 | "default": null | ||
13 | }, | ||
14 | { | ||
15 | "name": "value", | ||
16 | "type": "string", | ||
17 | "default": "" | ||
18 | } | ||
19 | ] | ||
20 | } \ No newline at end of file | ||