Merge pull request #5062 from pichalite/patch-1

redirect main window to correct url on chat pop out
This commit is contained in:
Barış Soner Uşaklı
2016-09-28 12:09:52 +03:00
committed by GitHub

View File

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