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
a5424c18
Commit
a5424c18
authored
Jun 11, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
性能改善
parent
b8fab3f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
public_new/js/chat-ui.js
+4
-10
No files found.
public_new/js/chat-ui.js
View file @
a5424c18
...
@@ -1055,7 +1055,6 @@ CHAT_UI.refreshContactScreen = function() {
...
@@ -1055,7 +1055,6 @@ CHAT_UI.refreshContactScreen = function() {
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroupInfo
(
'0'
);
android
.
updateMyInfo
();
android
.
updateMyInfo
();
android
.
updateGroupUser
();
android
.
updateGroupUser
();
android
.
updateFavorite
();
android
.
updateFavorite
();
...
@@ -1070,8 +1069,6 @@ CHAT_UI.refreshContactScreen = function() {
...
@@ -1070,8 +1069,6 @@ CHAT_UI.refreshContactScreen = function() {
var
myInfo
=
CHAT_DB
.
getMyInfo
();
var
myInfo
=
CHAT_DB
.
getMyInfo
();
myInfo
.
profileImagePath
=
CHAT
.
getProfileImgUrl
(
myInfo
.
profileUrl
)
myInfo
.
profileImagePath
=
CHAT
.
getProfileImgUrl
(
myInfo
.
profileUrl
)
let
myNamecardHtml
=
Mustache
.
render
(
myNamecardTemplate
,
{
let
myNamecardHtml
=
Mustache
.
render
(
myNamecardTemplate
,
{
loginId
:
myInfo
.
shopMemberId
,
loginId
:
myInfo
.
shopMemberId
,
profileImage
:
myInfo
.
profileImagePath
,
profileImage
:
myInfo
.
profileImagePath
,
...
@@ -1644,7 +1641,7 @@ CHAT_UI.refreshAllGroupSearch = function(paramGroupId) {
...
@@ -1644,7 +1641,7 @@ CHAT_UI.refreshAllGroupSearch = function(paramGroupId) {
//オンライン状態であればサーバから情報更新。
//オンライン状態であればサーバから情報更新。
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroup
Info
(
groupId
);
android
.
updateGroup
User
(
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
}
}
...
@@ -1986,7 +1983,6 @@ CHAT_UI.refreshMyGroupForMakeRoom = function() {
...
@@ -1986,7 +1983,6 @@ CHAT_UI.refreshMyGroupForMakeRoom = function() {
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroupInfo
(
'0'
);
android
.
updateMyInfo
();
android
.
updateMyInfo
();
android
.
updateGroupUser
();
android
.
updateGroupUser
();
android
.
updateFavorite
();
android
.
updateFavorite
();
...
@@ -2079,7 +2075,7 @@ CHAT_UI.refreshAllGroupForMakeRoom = function(paramGroupId) {
...
@@ -2079,7 +2075,7 @@ CHAT_UI.refreshAllGroupForMakeRoom = function(paramGroupId) {
//オンライン状態であればサーバから情報更新。
//オンライン状態であればサーバから情報更新。
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroup
Info
(
groupId
);
android
.
updateGroup
User
(
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
}
}
...
@@ -2359,7 +2355,6 @@ CHAT_UI.refreshMyGroupForAddUser = function() {
...
@@ -2359,7 +2355,6 @@ CHAT_UI.refreshMyGroupForAddUser = function() {
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroupInfo
(
'0'
);
android
.
updateMyInfo
();
android
.
updateMyInfo
();
android
.
updateGroupUser
();
android
.
updateGroupUser
();
android
.
updateFavorite
();
android
.
updateFavorite
();
...
@@ -2437,7 +2432,7 @@ CHAT_UI.refreshAllGroupForAddUser = function(paramGroupId) {
...
@@ -2437,7 +2432,7 @@ CHAT_UI.refreshAllGroupForAddUser = function(paramGroupId) {
//オンライン状態であればサーバから情報更新。
//オンライン状態であればサーバから情報更新。
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroup
Info
(
groupId
);
android
.
updateGroup
User
(
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
}
}
...
@@ -2721,7 +2716,6 @@ CHAT_UI.refreshMyGroupForAddUserInCollaboration = function() {
...
@@ -2721,7 +2716,6 @@ CHAT_UI.refreshMyGroupForAddUserInCollaboration = function() {
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroupInfo
(
'0'
);
android
.
updateMyInfo
();
android
.
updateMyInfo
();
android
.
updateGroupUser
();
android
.
updateGroupUser
();
android
.
updateFavorite
();
android
.
updateFavorite
();
...
@@ -2797,7 +2791,7 @@ CHAT_UI.refreshAllGroupForAddUserInCollaboration = function(paramGroupId) {
...
@@ -2797,7 +2791,7 @@ CHAT_UI.refreshAllGroupForAddUserInCollaboration = function(paramGroupId) {
//オンライン状態であればサーバから情報更新。
//オンライン状態であればサーバから情報更新。
if
(
IS_ONLINE
==
'true'
)
{
if
(
IS_ONLINE
==
'true'
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
updateGroup
Info
(
groupId
);
android
.
updateGroup
User
(
);
}
else
{
}
else
{
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
}
}
...
...
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