Commit c47e0989 by Kang Donghun

チャットルーム内でネームカードのグループパスタップするとグループ検索画面に遷移されるように修正

parent d0dd14b2
......@@ -217,7 +217,14 @@
PLATFORM = platform;
IS_MOBILE = isMobile;
IS_ONLINE = isOnline;
CHAT_UI.refreshContactScreen();
let groupId = android.getToMoveGroupId();
if (groupId != "" && groupId != undefined) {
CHAT_UI.refreshAllGroupSearch(groupId);
android.setToMoveGroupId("");
} else {
CHAT_UI.refreshContactScreen();
}
};
</script>
</body>
......
......@@ -1538,6 +1538,12 @@ CHAT_UI.insertFavoriteGroup = function(groupId) {
//全グループ検索画面表示。
CHAT_UI.refreshAllGroupSearch = function(paramGroupId) {
var groupId = paramGroupId;
if (window.location.pathname.includes("chat_room")) {
if (groupId == "") return;
android.setToMoveGroupId(groupId);
window.location.href = "contact.html";
}
CHAT_UI.showLoadingIndicator();
$('#userNameCard').modal('hide');
$('.cancel').addClass('none');
......@@ -2809,4 +2815,8 @@ CHAT_UI.insertFavoriteUserInCollaboration = function(shopMemberId) {
result = CHAT_DB.addFavoriteUser(shopMemberId);
}
CHAT_UI.dismissLoadingIndicator();
};
\ No newline at end of file
};
CHAT_UI.moveToGroupSearch = function(groupId) {
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment