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
56f1d9e2
Commit
56f1d9e2
authored
Apr 12, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
オフライン対応
parent
3af4cef7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
public_new/js/chat-ui.js
+4
-0
public_new/js/chat.js
+6
-2
No files found.
public_new/js/chat-ui.js
View file @
56f1d9e2
...
...
@@ -1557,6 +1557,10 @@ CHAT_UI.refreshArchiveScreen = function() {
// ローカルDBのデータを表示
var
archiveList
=
CHAT_DB
.
getArchiveList
();
if
(
typeof
archiveList
==
'undefined'
)
{
CHAT_UI
.
dismissLoadingIndicator
();
return
;
}
archiveList
.
forEach
(
function
(
archive
)
{
var
typeImage
=
""
;
switch
(
archive
.
archiveType
)
{
...
...
public_new/js/chat.js
View file @
56f1d9e2
...
...
@@ -28,8 +28,12 @@ CHAT.getProfileImgUrl = function(path) {
if
(
path
==
undefined
||
path
==
""
)
{
return
ASSET_PATH
+
'img/noImage.png'
;
}
else
{
var
userInfo
=
path
.
split
(
"/"
).
reverse
();
return
CMS_SERVER_URL
+
'/chatapi/user?profileFileName='
+
userInfo
[
0
]
+
'&profileGetLoginId='
+
userInfo
[
1
]
+
'&sid='
+
CHAT
.
globalLoginParameter
.
sid
+
'&cmd=12'
;
if
(
path
.
includes
(
'/mnt'
))
{
var
userInfo
=
path
.
split
(
"/"
).
reverse
();
return
CMS_SERVER_URL
+
'/chatapi/user?profileFileName='
+
userInfo
[
0
]
+
'&profileGetLoginId='
+
userInfo
[
1
]
+
'&sid='
+
CHAT
.
globalLoginParameter
.
sid
+
'&cmd=12'
;
}
else
{
return
path
;
}
}
}
...
...
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