X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=www%2Fjssrc%2Fblerg%2FRecord.js;h=2dc57398383ec781c5b7143bd35822a835e0df60;hb=e4bb47fae5fbdd876d9f133188dfe8ae65acbe9c;hp=8fe0947a51fff9ee10f456071aa64a0855f37bb2;hpb=80ad774f55998cc11e08694245dfd6cb1b49a86f;p=blerg.git diff --git a/www/jssrc/blerg/Record.js b/www/jssrc/blerg/Record.js index 8fe0947..2dc5739 100644 --- a/www/jssrc/blerg/Record.js +++ b/www/jssrc/blerg/Record.js @@ -9,14 +9,14 @@ enyo.kind({ record: null }, components: [ - {name: "data", noDom: true, allowHtml: true}, + {name: "data", tag: null, allowHtml: true}, {classes: "info", components: [ - {noDom: true, content: "Posted "}, - {name: "date", noDom: true}, - {noDom: true, content: ". "}, + {tag: null, content: "Posted "}, + {name: "date", tag: null}, + {tag: null, content: ". "}, {name: "permalink", kind: "blerg.Link", content: "[permalink]"}, - {noDom: true, content: " "}, - {name: "reply", kind: "blerg.Link", content: "[reply]", onclick: "postPopup"} + {tag: null, content: " "}, + {name: "reply", kind: "blerg.Link", content: "[reply]", onNavigate: "postPopup"} ]} ], create: function() { @@ -43,7 +43,8 @@ enyo.kind({ postPopup: function() { this.bubble('onPostVisibility', { showing: true, - data: enyo.macroize("@{$author}/{$record}", this) + data: enyo.macroize("@{$author}/{$record}: ", this), + replyto: this.$.data.getContent() }); return true; } @@ -53,16 +54,16 @@ enyo.kind({ name: "blerg.TagRecord", kind: "blerg.Record", components: [ - {name: "data", noDom: true, allowHtml: true}, + {name: "data", tag: null, allowHtml: true}, {classes: "info", components: [ - {noDom: true, content: "Posted by "}, + {tag: null, content: "Posted by "}, {name: "author", kind: "blerg.Link", classes: "author ref"}, - {noDom: true, content: " at "}, - {name: "date", noDom: true}, - {noDom: true, content: ". "}, + {tag: null, content: " at "}, + {name: "date", tag: null}, + {tag: null, content: ". "}, {name: "permalink", kind: "blerg.Link", content: "[permalink]"}, - {noDom: true, content: " "}, - {name: "reply", kind: "blerg.Link", content: "[reply]", onclick: "postPopup"} + {tag: null, content: " "}, + {name: "reply", kind: "blerg.Link", content: "[reply]", onNavigate: "postPopup"} ]} ], updateLinks: function() { @@ -77,8 +78,8 @@ enyo.kind({ kind: "blerg.Record", components: [ {name: "authorlink", kind: "blerg.Link", classes: "author ref"}, - {noDom: true, content: " "}, - {name: "data", noDom: true} + {tag: null, content: " "}, + {name: "data", tag: null} ], dataChanged: function() { var d = this.data.replace(/&/g, '&').replace(//g, '>');