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
d44542e1
Commit
d44542e1
authored
Apr 21, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/#42579_favorite_offline' into 'release_sp3'
[iOS]お気に入りグループ解除処理修正 See merge request
!81
parents
7faebae6
a1729a16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
public_new/js/chat-db.js
+12
-0
public_new/js/chat-ui.js
+1
-1
No files found.
public_new/js/chat-db.js
View file @
d44542e1
...
@@ -289,6 +289,18 @@ CHAT_DB.addFavoriteUser = function(shopMemberId) {
...
@@ -289,6 +289,18 @@ CHAT_DB.addFavoriteUser = function(shopMemberId) {
}
}
};
};
CHAT_DB
.
removeFavoriteGroup
=
function
(
groupId
)
{
// Androidは実装不要
if
(
CHAT_UTIL
.
isIOS
())
{
var
result
=
callNativeApp
(
"removeFavoriteGroup"
,
{
"groupId"
:
groupId
});
if
(
result
==
"true"
)
{
return
true
;
}
else
{
return
false
;
}
}
};
CHAT_DB
.
addFavoriteGroup
=
function
(
groupId
)
{
CHAT_DB
.
addFavoriteGroup
=
function
(
groupId
)
{
// Androidは実装不要
// Androidは実装不要
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
...
...
public_new/js/chat-ui.js
View file @
d44542e1
...
@@ -1469,7 +1469,7 @@ CHAT_UI.removeFavoriteGroup = function(groupId) {
...
@@ -1469,7 +1469,7 @@ CHAT_UI.removeFavoriteGroup = function(groupId) {
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
result
=
android
.
removeFavoriteGroup
(
groupId
);
result
=
android
.
removeFavoriteGroup
(
groupId
);
}
else
{
}
else
{
result
=
webkit
.
messageHandlers
.
removeFavoriteGroup
.
postMessage
(
groupId
);
result
=
CHAT_DB
.
removeFavoriteGroup
(
groupId
);
}
}
if
(
!
result
)
{
if
(
!
result
)
{
$
(
'.group_'
+
groupId
).
addClass
(
'active'
);
$
(
'.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