fix reshares in interaction presenternavigate replace states on next or previous so back and forward work

default user image
This commit is contained in:
Dennis Collinson 2012-05-10 15:28:27 -07:00
parent 3326bc5bb4
commit 9b9a64ffd0
2 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,7 @@ app.Router = Backbone.Router.extend({
function setPreloadAttributesAndNavigate(){ function setPreloadAttributesAndNavigate(){
window.preloads.post = post.attributes window.preloads.post = post.attributes
app.router.navigate(post.url(), true) app.router.navigate(post.url(), {trigger:true, replace: true})
} }
}, },

View file

@ -53,7 +53,10 @@
height : 140px; height : 140px;
width : 140px; width : 140px;
background-position : center; background : {
position : center;
image : image-url('user/default.png');
}
display : inline-block; display : inline-block;