Commit 89faf50a by Kang Donghun

Merge branch 'bugfix/#499-招待画面リストクリア修正' into 'release_sp3'

Bugfix/#499 招待画面リストクリア修正

See merge request !38
parents aeed436b a4a781bf
......@@ -24,13 +24,13 @@
<div class="col-4 pr-0">
<div class="nav-item">
<div class="nav_prev">
<a href="chat_room.html"><span>ルーム</span></a>
<a href="chat_room.html"><span style="font-size: 13px;">ルーム</span></a>
</div>
</div>
</div>
<div class="col-4 p-0">
<div class="nav-item p-0">
<h1 class="nav-ttl" id="title" style="font-size: 13px;">ユーザ招待</h1>
<h1 class="nav-ttl" id="addUserTitle">ユーザー招待</h1>
</div>
</div>
<div class="col-4 pl-0">
......
......@@ -24,13 +24,13 @@
<div class="col-4 pr-0">
<div class="nav-item">
<div class="nav_prev">
<a href="chat.html"><span>チャット</span></a>
<a href="chat.html"><span style="font-size: 13px;">チャット</span></a>
</div>
</div>
</div>
<div class="col-4 p-0">
<div class="nav-item p-0">
<h1 class="nav-ttl" id="title" style="font-size: 13px;">ルーム開設</h1>
<h1 class="nav-ttl" id="makeRoomTitle">ルーム開設</h1>
</div>
</div>
<div class="col-4 pl-0">
......
......@@ -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({});
......
$(function() {
// メンバー検索
$('#chat_add_user .search_form input[type="search"]').click(function(e){
//画面タイトル設定
let contactListTitle = getLocalizedString("userSearch");
$('#addUserTitle').text(contactListTitle);
})
$('#chat_add_user .search_form input[type="search"]').keyup(function(e){
if (e.key == "Enter" || e.KeyCode == 13) {
......
......@@ -332,13 +332,13 @@ $(function() {
});
$('#chat_add_user .search_form .cancel').click(function() {
CHAT.globalSelectedUserList.forEach(function(userId) {
if ($('.checkbox' + userId).prop('checked')) {
$('.checkbox' + userId).prop("checked", false).trigger("change");
} else {
$('.checkbox' + userId).prop("checked", true).trigger("change");
}
});
let roomListTitle = getLocalizedString("inviteUsersSubtitle");
$('#addUserTitle').text(roomListTitle);
});
$('#chatMakeRoom .search_form .cancel').click(function() {
let roomListTitle = getLocalizedString("createRoomTitle");
$('#makeRoomTitle').text(roomListTitle);
});
// チャットメンバー検索
......
$(function() {
// メンバー検索
$('#chatMakeRoom .search_form input[type="search"]').click(function(e) {
let contactListTitle = getLocalizedString("userSearch");
$('#makeRoomTitle').text(contactListTitle);
});
$('#chatMakeRoom .search_form input[type="search"]').keyup(function(e) {
 //画面タイトル設定
var keyword = $('#chatMakeRoom .search_form input[type="search"]').val();
if (e.KeyCode == 13 || e.key == "Enter") {
if (keyword != '' && keyword.length != 0) {
......
......@@ -10,7 +10,7 @@ $.lang.ja = {
"inviteUsersTitle":"メンバー追加",
"createRoomTitle":"ルーム開設",
"createRoomSubtitle":"ルーム名",
"inviteUsersSubtitle":"ユーザ招待",
"inviteUsersSubtitle":"ユーザ招待",
"roomListEmptyString":"入場できるルームがありません。",
"left":"%@ 様が退場しました。",
"join":"%@ 様が入場しました。",
......
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