diff options
author | Valerio Virgillito | 2012-02-14 23:47:19 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-14 23:47:19 -0800 |
commit | f2f6ed48634ee4d74dd780c66e58c6b1e00234dd (patch) | |
tree | 0abee206fae85b63a0db16ab7a014a5566f3a7e0 /js | |
parent | 69f0dbbe2ebbbc8d7fa89afe1a7078d0fe206be9 (diff) | |
download | ninja-f2f6ed48634ee4d74dd780c66e58c6b1e00234dd.tar.gz |
Completing the anchor element
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.js | 2 |
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"); |