update topic url and Metamaps.Active.Topic when you center

This commit is contained in:
Devin Howard 2016-08-09 22:49:19 +08:00
parent 797a4f210a
commit 0124c87ec3

View file

@ -109,6 +109,8 @@ Metamaps.Topic = {
if (callback) callback()
}
})
Metamaps.Router.navigate('/topics/' + nodeid)
Metamaps.Active.Topic = Metamaps.Topics.get(nodeid)
}
},
fetchRelatives: function (nodes, metacode_id) {