added original status to li so it can be used later
This commit is contained in:
parent
800ec65d8f
commit
084cc90321
1 changed files with 1 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
|
||||||
var template = this.getTemplate();
|
var template = this.getTemplate();
|
||||||
|
|
||||||
template.item.id = "post-" + (typeof status.__repost != "undefined" ? status.__repost.id : status.id);
|
template.item.id = "post-" + (typeof status.__repost != "undefined" ? status.__repost.id : status.id);
|
||||||
|
template.item.status = status;
|
||||||
|
|
||||||
if (HostApp.stringForKey("entity") == status.entity && typeof status.__repost == "undefined") {
|
if (HostApp.stringForKey("entity") == status.entity && typeof status.__repost == "undefined") {
|
||||||
template.remove.onclick = function() {
|
template.remove.onclick = function() {
|
||||||
|
|
|
||||||
Reference in a new issue