Commit 63262cab by Kim Peace

Merge branch 'bug/#44036_user_filtering_in_room_search' into 'develop'

Bug/#44036, #44037 user filtering in room search

See merge request !239
parents 806d1193 a8d989f2
......@@ -25,7 +25,7 @@
<div class="d-flex flex-row h-100 align-items-center">
<input type="search" name="search" id="searchMessage" placeholder="メッセージ検索" maxlength="600">
<span class="src_icon"></span>
<a href="#" class="cancel" id="messageSearchCancle">キャンセル</a>
<a href="#" class="cancel" id="messageSearchCancel">キャンセル</a>
</div>
</div>
<div class="row nav_item_wrap h-100 align-items-center">
......
......@@ -17,7 +17,7 @@ ChatRoom.bindSearchUI = function () {
chatSearchInput.focus();
searchMessage.addClass("onfocus");
$(".chat_list").removeClass("none");
//メッセージ情報をCMS側から最新に更新
NativeBridgeDelegate.updatePreMessage("");
});
......@@ -86,13 +86,17 @@ ChatRoom.bindSearchUI = function () {
}
});
ChatRoom.bindUserFilteredMessage();
// フィルタ選択イベント
$(document).on("click", "#filter .img_wrap", function (event) {
// チェックアイコン追加
$(this).toggleClass("filter");
});
ChatRoom.bindUserFilteredMessage();
$("#messageSearchCancel").on("click", function (event) {
$(".img_wrap.filter").removeClass("filter");
});
};
ChatRoom.bindUserFilteredMessage = function () {
......@@ -135,4 +139,4 @@ ChatRoom.getCheckedUserList = function () {
checkedUserList.push($(selectedUser).data("user-id"));
});
return checkedUserList;
};
};
\ 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