added original status to li so it can be used later

This commit is contained in:
Jeena Paradies 2013-01-16 01:02:54 +01:00
parent 800ec65d8f
commit 084cc90321

View file

@ -150,6 +150,7 @@ function(jQuery, Paths, URI, HostApp, Cache) {
var template = this.getTemplate();
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") {
template.remove.onclick = function() {