diff options
Diffstat (limited to 'js/panels/Components/ComponentsPanelBase.reel')
-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"); |