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 @@ ...@@ -25,7 +25,7 @@
<div class="d-flex flex-row h-100 align-items-center"> <div class="d-flex flex-row h-100 align-items-center">
<input type="search" name="search" id="searchMessage" placeholder="メッセージ検索" maxlength="600"> <input type="search" name="search" id="searchMessage" placeholder="メッセージ検索" maxlength="600">
<span class="src_icon"></span> <span class="src_icon"></span>
<a href="#" class="cancel" id="messageSearchCancle">キャンセル</a> <a href="#" class="cancel" id="messageSearchCancel">キャンセル</a>
</div> </div>
</div> </div>
<div class="row nav_item_wrap h-100 align-items-center"> <div class="row nav_item_wrap h-100 align-items-center">
......
...@@ -86,13 +86,17 @@ ChatRoom.bindSearchUI = function () { ...@@ -86,13 +86,17 @@ ChatRoom.bindSearchUI = function () {
} }
}); });
ChatRoom.bindUserFilteredMessage();
// フィルタ選択イベント // フィルタ選択イベント
$(document).on("click", "#filter .img_wrap", function (event) { $(document).on("click", "#filter .img_wrap", function (event) {
// チェックアイコン追加 // チェックアイコン追加
$(this).toggleClass("filter"); $(this).toggleClass("filter");
}); });
ChatRoom.bindUserFilteredMessage();
$("#messageSearchCancel").on("click", function (event) {
$(".img_wrap.filter").removeClass("filter");
});
}; };
ChatRoom.bindUserFilteredMessage = function () { ChatRoom.bindUserFilteredMessage = function () {
......
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