Fix record [reply] links
[blerg.git] / www / jssrc / blerg / Record.js
index 8fe0947..5d4cf23 100644 (file)
@@ -16,7 +16,7 @@ enyo.kind({
             {noDom: true, content: ". "},
             {name: "permalink", kind: "blerg.Link", content: "[permalink]"},
             {noDom: true, content: " "},
-            {name: "reply", kind: "blerg.Link", content: "[reply]", onclick: "postPopup"}
+            {name: "reply", kind: "blerg.Link", content: "[reply]", onNavigate: "postPopup"}
         ]}
     ],
     create: function() {
@@ -43,7 +43,7 @@ enyo.kind({
     postPopup: function() {
         this.bubble('onPostVisibility', {
             showing: true,
-            data: enyo.macroize("@{$author}/{$record}", this)
+            data: enyo.macroize("@{$author}/{$record}", this)
         });
         return true;
     }
@@ -62,7 +62,7 @@ enyo.kind({
             {noDom: true, content: ". "},
             {name: "permalink", kind: "blerg.Link", content: "[permalink]"},
             {noDom: true, content: " "},
-            {name: "reply", kind: "blerg.Link", content: "[reply]", onclick: "postPopup"}
+            {name: "reply", kind: "blerg.Link", content: "[reply]", onNavigate: "postPopup"}
         ]}
     ],
     updateLinks: function() {