aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js')
-rwxr-xr-xjs/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
index 981e666f..92d21bc3 100755
--- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
+++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
@@ -333,6 +333,7 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
333 el.setAttribute("type", "range"); 333 el.setAttribute("type", "range");
334 break; 334 break;
335 case "textfield": 335 case "textfield":
336 case "searchfield":
336 el = NJUtils.makeNJElement("input", "Textfield", "component"); 337 el = NJUtils.makeNJElement("input", "Textfield", "component");
337 el.elementModel.pi = "TextfieldPi"; 338 el.elementModel.pi = "TextfieldPi";
338 el.setAttribute("type", "text"); 339 el.setAttribute("type", "text");
@@ -346,6 +347,16 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
346 el.elementModel.pi = "ToggleButtonPi"; 347 el.elementModel.pi = "ToggleButtonPi";
347 el.innerHTML = "Off"; 348 el.innerHTML = "Off";
348 break; 349 break;
350 case "map":
351 el = NJUtils.makeNJElement("div", "Map", "component");
352 el.elementModel.pi = "MapPi";
353 el.elementModel.isComponent = true;
354 break;
355 case "feedreader":
356 el = NJUtils.makeNJElement("div", "Feed Reader", "component");
357 el.elementModel.pi = "FeedReaderPi";
358 el.elementModel.isComponent = true;
359
349 } 360 }
350 361
351 return el; 362 return el;