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
6a2843b8
Commit
6a2843b8
authored
Apr 20, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#42544 フラインでグループのお気に入りを解除すると、アイコン(★)の色が色無し(☆)になる
parent
e8b1eec1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
public_new/js/chat-ui.js
+11
-6
No files found.
public_new/js/chat-ui.js
View file @
6a2843b8
...
...
@@ -1417,13 +1417,20 @@ CHAT_UI.insertFavoriteUser = function(shopMemberId) {
};
CHAT_UI
.
removeFavoriteGroup
=
function
(
groupId
)
{
CHAT_UI
.
showLoadingIndicator
();
var
result
;
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
removeFavoriteGroup
(
groupId
);
result
=
android
.
removeFavoriteGroup
(
groupId
);
}
else
{
webkit
.
messageHandlers
.
removeFavoriteGroup
.
postMessage
(
groupId
);
result
=
webkit
.
messageHandlers
.
removeFavoriteGroup
.
postMessage
(
groupId
);
}
if
(
!
result
)
{
$
(
'.group_'
+
groupId
).
addClass
(
'active'
);
$
(
'.group_'
+
groupId
).
removeClass
(
'disable'
);
}
else
{
$
(
'.group_'
+
groupId
).
removeClass
(
'active'
);
$
(
'.group_'
+
groupId
).
addClass
(
'disable'
);
}
$
(
'.group_'
+
groupId
).
removeClass
(
'active'
);
$
(
'.group_'
+
groupId
).
addClass
(
'disable'
);
CHAT_UI
.
dismissLoadingIndicator
();
};
...
...
@@ -1438,8 +1445,6 @@ CHAT_UI.insertFavoriteGroup = function(groupId) {
if
(
!
result
)
{
$
(
'.group_'
+
groupId
).
addClass
(
'disable'
);
$
(
'.group_'
+
groupId
).
removeClass
(
'active'
);
CHAT_UI
.
dismissLoadingIndicator
();
return
;
}
else
{
$
(
'.group_'
+
groupId
).
removeClass
(
'disable'
);
$
(
'.group_'
+
groupId
).
addClass
(
'active'
);
...
...
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