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
ce671c08
Commit
ce671c08
authored
Apr 01, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コード整理
parent
c7b44b83
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
public_new/js/chat-ui.js
+4
-3
public_new/js/chatMakeRoom.js
+4
-4
public_new/js/common.js
+0
-1
public_new/template/template_make_room_user_list.html
+1
-1
No files found.
public_new/js/chat-ui.js
View file @
ce671c08
...
...
@@ -1658,10 +1658,11 @@ CHAT_UI.checkForMakeChat = function(checkMemberId) {
// add
CHAT
.
globalSelectedUserList
.
push
(
nameInfo
.
shopMemberId
);
}
if
(
$
(
'#checkbox'
+
checkMemberId
).
prop
(
'checked'
)){
$
(
'#checkbox'
+
checkMemberId
).
attr
(
'checked'
,
true
);
if
(
$
(
'.checkbox'
+
checkMemberId
).
prop
(
'checked'
)){
$
(
'.checkbox'
+
checkMemberId
).
attr
(
'checked'
,
true
);
}
else
{
$
(
'
#
checkbox'
+
checkMemberId
).
removeAttr
(
'checked'
);
$
(
'
.
checkbox'
+
checkMemberId
).
removeAttr
(
'checked'
);
}
let
cnt
=
CHAT
.
globalSelectedUserList
.
length
;
if
(
CHAT
.
globalSelectedUserList
.
length
>
0
)
{
...
...
public_new/js/chatMakeRoom.js
View file @
ce671c08
...
...
@@ -40,10 +40,10 @@ $(function() {
userList
.
forEach
(
function
(
user
)
{
user
.
profileUrl
=
CHAT
.
getProfileImgUrl
(
user
.
profileUrl
);
let
findObj
=
CHAT
.
globalSelectedUserList
.
find
(
function
(
shopMemberId
)
{
return
shopMemberId
==
groupU
ser
.
shopMemberId
;
return
shopMemberId
==
u
ser
.
shopMemberId
;
})
if
(
findObj
)
{
groupU
ser
.
checked
=
'checked'
;
u
ser
.
checked
=
'checked'
;
}
});
let
html
=
Mustache
.
render
(
userTemplate
,
{
...
...
@@ -67,10 +67,10 @@ $(function() {
userList
.
forEach
(
function
(
user
)
{
user
.
profileUrl
=
CHAT
.
getProfileImgUrl
(
user
.
profileUrl
);
let
findObj
=
CHAT
.
globalSelectedUserList
.
find
(
function
(
shopMemberId
)
{
return
shopMemberId
==
groupU
ser
.
shopMemberId
;
return
shopMemberId
==
u
ser
.
shopMemberId
;
})
if
(
findObj
)
{
groupU
ser
.
checked
=
'checked'
;
u
ser
.
checked
=
'checked'
;
}
});
let
html
=
Mustache
.
render
(
userTemplate
,
{
...
...
public_new/js/common.js
View file @
ce671c08
...
...
@@ -49,7 +49,6 @@ $(function() {
$
(
'.content'
).
removeClass
(
'none'
);
$
(
'.overlay_src_msg'
).
empty
();
});
$
(
'.message_input_form'
).
click
(
function
(){
console
.
log
(
'ONCLICK---'
);
$
(
'.message_input_send'
).
removeClass
(
'none'
);
...
...
public_new/template/template_make_room_user_list.html
View file @
ce671c08
...
...
@@ -5,7 +5,7 @@
<div
class=
"chat_item_l_chk"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"checkbox{{shopMemberId}}"
name=
"checkbox[]"
class=
"checkbox-input"
onchange=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
{{
checked
}}
>
<input
type=
"checkbox"
id=
"checkbox{{shopMemberId}}"
name=
"checkbox[]"
class=
"checkbox-input
checkbox{{shopMemberId}}
"
onchange=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
{{
checked
}}
>
<span
class=
"checkbox-parts"
></span>
</label>
</div>
...
...
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