aboutsummaryrefslogtreecommitdiff
path: root/js/panels
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-01 17:12:37 -0700
committerValerio Virgillito2012-06-01 17:12:37 -0700
commitac24875103799c7198b1b1cb01d15b415d118354 (patch)
tree1f34438d9559e76a8f01140f94cf3e438d061089 /js/panels
parent8bbabd61e600e0a4aee72377c962d9147db1d8e1 (diff)
downloadninja-ac24875103799c7198b1b1cb01d15b415d118354.tar.gz
removing the search bar component
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels')
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js6
1 files changed, 0 insertions, 6 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");