Commit 6a9e372f by Kang Donghun

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

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