Commit 5427d2f1 by Kim Peace

Merge branch 'develop' into debug/console_logs

parents 79770beb 63262cab
......@@ -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">
......
......@@ -21,7 +21,7 @@ ChatRoom.bindSearchUI = function () {
chatSearchInput.focus();
searchMessage.addClass("onfocus");
$(".chat_list").removeClass("none");
//メッセージ情報をCMS側から最新に更新
NativeBridgeDelegate.updatePreMessage("");
});
......@@ -105,14 +105,18 @@ ChatRoom.bindSearchUI = function () {
}
});
ChatRoom.bindUserFilteredMessage();
// フィルタ選択イベント
$(document).on("click", "#filter .img_wrap", function (event) {
console.log("peacekim:: ChatRoom.bindSearchUI .filter .img_wrap clicked");
// チェックアイコン追加
$(this).toggleClass("filter");
});
ChatRoom.bindUserFilteredMessage();
$("#messageSearchCancel").on("click", function (event) {
$(".img_wrap.filter").removeClass("filter");
});
};
ChatRoom.bindUserFilteredMessage = function () {
......@@ -161,4 +165,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