aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Components
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-14 23:47:19 -0800
committerValerio Virgillito2012-02-14 23:47:19 -0800
commitf2f6ed48634ee4d74dd780c66e58c6b1e00234dd (patch)
tree0abee206fae85b63a0db16ab7a014a5566f3a7e0 /js/panels/Components
parent69f0dbbe2ebbbc8d7fa89afe1a7078d0fe206be9 (diff)
downloadninja-f2f6ed48634ee4d74dd780c66e58c6b1e00234dd.tar.gz
Completing the anchor element
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/Components')
-rw-r--r--js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
index bb6b049a..4a0ac2b5 100644
--- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
+++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js
@@ -268,6 +268,8 @@ var ComponentsPanelBase = exports.ComponentsPanelBase = Montage.create(Component
268 case "anchor": 268 case "anchor":
269 el = NJUtils.makeNJElement("a", "Anchor", "component"); 269 el = NJUtils.makeNJElement("a", "Anchor", "component");
270 el.elementModel.pi = "AnchorPi"; 270 el.elementModel.pi = "AnchorPi";
271 el.setAttribute("href", "http://www.motorola.com");
272 el.innerHTML = "link";
271 break; 273 break;
272 case "button": 274 case "button":
273 el = NJUtils.makeNJElement(name, "Button", "component"); 275 el = NJUtils.makeNJElement(name, "Button", "component");