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
ce69af2e
Commit
ce69af2e
authored
Apr 02, 2021
by
Lee Munkyeong
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove log
parent
5f1420ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
public/js/chat-db.js
+0
-1
public/js/chat-ui.js
+0
-13
No files found.
public/js/chat-db.js
View file @
ce69af2e
...
...
@@ -16,7 +16,6 @@ CHAT_DB.getRoomList = function(roomType) {
CHAT_DB
.
getMyInfo
=
function
(
input
)
{
var
result
=
JSON
.
parse
(
android
.
getMyInfo
());
CHAT
.
globalLoginParameter
.
shopMemberId
=
result
.
shopMemberId
;
console
.
log
(
CHAT
.
globalLoginParameter
.
shopMemberId
);
if
(
CHAT_UTIL
.
isIOS
())
{
//TODO IOS処理追加必要
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
...
...
public/js/chat-ui.js
View file @
ce69af2e
...
...
@@ -958,13 +958,11 @@ CHAT_UI.refreshGroupSearch = function(groupId, isInvite) {
$
(
'#groupPathArea'
).
html
(
''
);
if
(
typeof
result
.
parentGroupId
!==
'undefined'
)
{
console
.
log
(
result
.
parentGroupId
);
$
(
'#parentGroupBtn'
).
on
(
'click'
,
function
()
{
CHAT_UI
.
refreshGroupSearch
(
result
.
parentGroupId
,
isInvite
);
});
}
if
(
typeof
result
.
rootGroupId
!==
'undefined'
)
{
console
.
log
(
result
.
rootGroupId
);
$
(
'#rootGroupBtn'
).
on
(
'click'
,
function
()
{
CHAT_UI
.
refreshGroupSearch
(
result
.
rootGroupId
,
isInvite
);
});
...
...
@@ -1150,7 +1148,6 @@ CHAT_UI.refreshContactScreen = function(isCreate, isInvite) {
});
let
obj
=
$
(
jQuery
.
parseHTML
(
html
)).
on
(
'click'
,
function
(){
console
.
log
(
'click'
);
if
(
isCreate
!=
true
)
{
CHAT_UI
.
makeNameCard
(
groupUser
.
shopMemberId
);
}
else
{
...
...
@@ -1477,13 +1474,11 @@ CHAT_UI.refesshAllGroupSearch = function(groupId) {
$
(
'#groupPathArea'
).
html
(
''
);
if
(
typeof
result
.
parentGroupId
!==
'undefined'
)
{
console
.
log
(
result
.
parentGroupId
);
$
(
'#parentGroupBtn'
).
on
(
'click'
,
function
()
{
CHAT_UI
.
refesshAllGroupSearch
(
result
.
parentGroupId
);
});
}
if
(
typeof
result
.
rootGroupId
!==
'undefined'
)
{
console
.
log
(
result
.
rootGroupId
);
$
(
'#rootGroupBtn'
).
on
(
'click'
,
function
()
{
CHAT_UI
.
refesshAllGroupSearch
(
result
.
rootGroupId
);
});
...
...
@@ -1583,10 +1578,7 @@ CHAT_UI.changeFavorite = function () {
};
CHAT_UI
.
makeNameCard
=
function
(
shopMemberId
)
{
console
.
log
(
'makeNameCard Click'
);
var
nameCardInfo
=
CHAT_DB
.
getNameCardData
(
shopMemberId
);
console
.
log
(
nameCardInfo
);
const
userNamecardTemplate
=
$
(
'#namecard-template'
).
html
();
let
namecardHtml
=
Mustache
.
render
(
userNamecardTemplate
,
{
loginId
:
nameCardInfo
.
shopMemberId
,
...
...
@@ -1606,10 +1598,7 @@ CHAT_UI.makeNameCard = function (shopMemberId) {
};
CHAT_UI
.
makeNameCardInChatRoom
=
function
(
chatRoomId
)
{
console
.
log
(
'makeNameCard Click'
);
var
nameCardInfo
=
CHAT_DB
.
getNameCardData
(
chatRoomId
);
console
.
log
(
nameCardInfo
);
const
userNamecardTemplate
=
$
(
'#namecard-template'
).
html
();
let
namecardHtml
=
Mustache
.
render
(
userNamecardTemplate
,
{
loginId
:
nameCardInfo
.
shopMemberId
,
...
...
@@ -1643,13 +1632,11 @@ CHAT_UI.refesshAllGroupSearchFaborite = function(groupId) {
$
(
'#groupPathArea'
).
html
(
''
);
if
(
typeof
result
.
parentGroupId
!==
'undefined'
)
{
console
.
log
(
result
.
parentGroupId
);
$
(
'#parentGroupBtn'
).
on
(
'click'
,
function
()
{
CHAT_UI
.
refesshAllGroupSearch
(
result
.
parentGroupId
);
});
}
if
(
typeof
result
.
rootGroupId
!==
'undefined'
)
{
console
.
log
(
result
.
rootGroupId
);
$
(
'#rootGroupBtn'
).
on
(
'click'
,
function
()
{
CHAT_UI
.
refesshAllGroupSearch
(
result
.
rootGroupId
);
});
...
...
Kim Peace
@kim-p
mentioned in commit
a4ea3c56
Apr 02, 2021
mentioned in commit
a4ea3c56
mentioned in commit a4ea3c5695b85547a69c0e218f8043d5ae528443
Toggle commit list
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