make post load faster from profile to show

using dirty preloads for now.
I like it dirty.
This commit is contained in:
Dennis Collinson 2012-05-14 12:13:53 -07:00
parent 7a11e9fd37
commit ca1a61825d

View file

@ -122,6 +122,7 @@ app.views.SmallFrame = app.views.Post.extend({
goToPost : function(evt) { goToPost : function(evt) {
if(evt) { evt.stopImmediatePropagation(); } if(evt) { evt.stopImmediatePropagation(); }
window.preloads.post = this.model.attributes
app.router.navigate(this.model.url(), true) app.router.navigate(this.model.url(), true)
} }
}); });