From ac24875103799c7198b1b1cb01d15b415d118354 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Fri, 1 Jun 2012 17:12:37 -0700 Subject: removing the search bar component Signed-off-by: Valerio Virgillito --- js/panels/components-panel.reel/components-panel.js | 6 ------ node_modules/components-data/searchfield.json | 20 -------------------- 2 files changed, 26 deletions(-) delete mode 100644 node_modules/components-data/searchfield.json 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 @@ -39,11 +39,6 @@ exports.ComponentsPanel = Montage.create(Component, { "dataFile" : "node_modules/components-data/picasa-carousel.json", "component": "picasa-carousel" }, - { - "text": "Search Bar", - "dataFile" : "node_modules/components-data/searchfield.json", - "component": "searchfield" - }, { "text": "Youtube Channel", "dataFile" : "node_modules/components-data/youtube-channel.json", @@ -351,7 +346,6 @@ exports.ComponentsPanel = Montage.create(Component, { el.setAttribute("type", "range"); break; case "textfield": - case "searchfield": el = document.application.njUtils.make("input", null, this.application.ninja.currentDocument); document.application.njUtils.createModelForComponent(el, "Textfield"); 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 @@ -{ - "component": "searchfield", - - "module": "montage/ui/textfield.reel", - - "name": "Textfield", - - "properties": [ - { - "name": "valueBinding", - "type": "string", - "default": null - }, - { - "name": "value", - "type": "string", - "default": "" - } - ] -} \ No newline at end of file -- cgit v1.2.3