Commit 6a9e372f by Kang Donghun

ユーザ招待画面を更新する時、ユーザーリストがクリアされるように修正

parent 65d1b97e
...@@ -178,9 +178,11 @@ ...@@ -178,9 +178,11 @@
$("#pictureModal").load("./modal_chat_picture.html"); $("#pictureModal").load("./modal_chat_picture.html");
$("#chatMenuModal").load("./modal_chat_menu.html"); $("#chatMenuModal").load("./modal_chat_menu.html");
$("#loadingArea").load("./loading.html"); $("#loadingArea").load("./loading.html");
if (typeof(android) != "undefined") { if (typeof(android) != "undefined") {
android.getLoginParameter(); android.getLoginParameter();
android.getGlobalParameter(); android.getGlobalParameter();
android.saveSelectedUserList("");
} else { } else {
webkit.messageHandlers.loginInfoRequestMessageHandlerId.postMessage({}); webkit.messageHandlers.loginInfoRequestMessageHandlerId.postMessage({});
webkit.messageHandlers.getGlobalParameter.postMessage({}); webkit.messageHandlers.getGlobalParameter.postMessage({});
......
...@@ -331,14 +331,14 @@ $(function() { ...@@ -331,14 +331,14 @@ $(function() {
$('#chatTitle').text(roomListTitle); $('#chatTitle').text(roomListTitle);
}); });
$('#chat_add_user .search_form .cancel').click(function(){ $('#chat_add_user .search_form .cancel').click(function() {
CHAT.globalSelectedUserList.forEach(function(userId) { let roomListTitle = getLocalizedString("inviteUsersSubtitle");
if ($('.checkbox' + userId).prop('checked')) { $('#chatTitle').text(roomListTitle);
$('.checkbox' + checkMemberId).attr('checked', true); });
} else {
$('.checkbox' + checkMemberId).removeAttr('checked'); $('#chatMakeRoom .search_form .cancel').click(function() {
} let roomListTitle = getLocalizedString("createRoomTitle");
}); $('#chatTitle').text(roomListTitle);
}); });
// チャットメンバー検索 // チャットメンバー検索
......
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