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
8e1aea93
Commit
8e1aea93
authored
Jul 26, 2021
by
onuma
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_onuma' into 'develop'
協業に参加できない不具合を修正した。 See merge request
!198
parents
c153ba62
a2cab780
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
public_new/js/views/chats/chat-room-message.js
+4
-2
public_new/template/template_open_collaboration_message.html
+1
-1
No files found.
public_new/js/views/chats/chat-room-message.js
View file @
8e1aea93
...
...
@@ -75,7 +75,7 @@ ChatRoom.sendMessage = function (e) {
* Load Messages
***********************/
ChatRoom
.
loadMessages
=
function
(
joinRoomID
,
joinRoomName
)
{
let
roomID
=
joinRoomID
.
replace
(
/
[
'"
]
+/g
,
""
);
let
roomID
=
joinRoomID
.
toString
().
replace
(
/
[
'"
]
+/g
,
""
);
roomName
=
joinRoomName
;
// 画面更新
if
(
serverInfo
.
isOnline
==
true
)
{
...
...
@@ -253,6 +253,8 @@ ChatRoom.renderCollaborationMessage = function (message, isToday, isOtherYear) {
const
messageTime
=
CHAT_UTIL
.
formatDate
(
message
.
insertDate
);
const
createdAtYear
=
message
.
insertDate
.
substring
(
0
,
4
)
+
getLocalizedString
(
"year"
)
+
" "
;
// 協業のタイプを数値から文字列に変換
const
strCollaborationType
=
CHAT_UTIL
.
getCollaborationType
(
collaborationInfo
.
collaborationType
);
const
html
=
Mustache
.
render
(
collaborationMessageTemplate
,
{
messageId
:
message
.
messageId
,
...
...
@@ -261,7 +263,7 @@ ChatRoom.renderCollaborationMessage = function (message, isToday, isOtherYear) {
userList
:
displayUserList
,
insertDate
:
message
.
insertDate
,
// TODO: peacekim:: should check collaborationInfo.collaborationType is string or number
collaborationType
:
collaborationInfo
.
c
ollaborationType
,
collaborationType
:
strC
ollaborationType
,
meetingId
:
meetingID
,
isToday
:
isToday
,
createdAtDay
:
messageTime
.
createdAtDay
,
...
...
public_new/template/template_open_collaboration_message.html
View file @
8e1aea93
...
...
@@ -34,7 +34,7 @@
<div
class=
"collabo_btn"
>
<button
class=
"collaboation_join_button"
type=
"button"
name=
"button"
class=
"d-flex flex-row justify-content-center align-items-center"
onclick=
"NativeBridgeDelegate.joinCollaboration(
{{collaborationType}}
, {{meetingId}})"
{{#
isEnded
}}
disabled
onclick=
"NativeBridgeDelegate.joinCollaboration(
'{{collaborationType}}'
, {{meetingId}})"
{{#
isEnded
}}
disabled
{{/
isEnded
}}
>
<img
src=
"icon/icon_profile_phone_white.svg"
alt=
"通話"
>
{{#isEnded}}
...
...
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