redirect main window to correct url on chat pop out

v1.18.x
Anil Mandepudi 8 years ago committed by GitHub
parent 4938b00635
commit eb61c4e267

@ -62,7 +62,7 @@ define('forum/chats', [
var roomId = ajaxify.data.roomId; var roomId = ajaxify.data.roomId;
if (app.previousUrl && app.previousUrl.match(/chats/)) { if (app.previousUrl && app.previousUrl.match(/chats/)) {
ajaxify.go('chats', function() { ajaxify.go('user/' + ajaxify.data.userslug + '/chats', function() {
app.openChat(roomId); app.openChat(roomId);
}, true); }, true);
} else { } else {

Loading…
Cancel
Save