Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
5427d2f1
Commit
5427d2f1
authored
Aug 27, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into debug/console_logs
parents
79770beb
63262cab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
public_new/chat_room.html
+1
-1
public_new/js/views/chats/chat-room-search.js
+9
-4
No files found.
public_new/chat_room.html
View file @
5427d2f1
...
...
@@ -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=
"messageSearchCanc
le
"
>
キャンセル
</a>
<a
href=
"#"
class=
"cancel"
id=
"messageSearchCanc
el
"
>
キャンセル
</a>
</div>
</div>
<div
class=
"row nav_item_wrap h-100 align-items-center"
>
...
...
public_new/js/views/chats/chat-room-search.js
View file @
5427d2f1
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment