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
aeed436b
Commit
aeed436b
authored
Apr 09, 2021
by
Kang Donghun
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/#484-アコーディオンアクション修正' into 'release_sp3'
Bugfix/#484 アコーディオンアクション修正 See merge request
!36
parents
51e575fb
75d072a0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
13 deletions
+11
-13
public_new/js/chat-ui.js
+3
-5
public_new/js/chat.js
+3
-3
public_new/template/template_make_room_group_user_list.html
+3
-3
public_new/template/template_make_room_user_list.html
+2
-2
No files found.
public_new/js/chat-ui.js
View file @
aeed436b
...
...
@@ -1916,15 +1916,13 @@ CHAT_UI.checkForMakeChat = function(checkMemberId) {
CHAT
.
globalSelectedUserList
=
CHAT
.
globalSelectedUserList
.
filter
(
function
(
shopMemberId
)
{
return
checkMemberId
!=
shopMemberId
;
});
$
(
'.checkbox'
+
checkMemberId
).
prop
(
"checked"
,
false
).
trigger
(
"change"
);
}
else
{
// add
CHAT
.
globalSelectedUserList
.
push
(
checkMemberId
);
$
(
'.checkbox'
+
checkMemberId
).
prop
(
"checked"
,
true
).
trigger
(
"change"
);
}
if
(
$
(
'.checkbox'
+
checkMemberId
).
prop
(
'checked'
)){
$
(
'.checkbox'
+
checkMemberId
).
removeAttr
(
'checked'
);
}
else
{
$
(
'.checkbox'
+
checkMemberId
).
attr
(
'checked'
,
true
);
}
let
cnt
=
CHAT
.
globalSelectedUserList
.
length
;
if
(
CHAT
.
globalSelectedUserList
.
length
>
0
)
{
$
(
'.select_member_num'
).
text
(
cnt
);
...
...
public_new/js/chat.js
View file @
aeed436b
...
...
@@ -331,12 +331,12 @@ $(function() {
$
(
'#chatTitle'
).
text
(
roomListTitle
);
});
$
(
'#chat_add_user .search_form .cancel'
).
click
(
function
(){
$
(
'#chat_add_user .search_form .cancel'
).
click
(
function
()
{
CHAT
.
globalSelectedUserList
.
forEach
(
function
(
userId
)
{
if
(
$
(
'.checkbox'
+
userId
).
prop
(
'checked'
))
{
$
(
'.checkbox'
+
checkMemberId
).
attr
(
'checked'
,
true
);
$
(
'.checkbox'
+
userId
).
prop
(
"checked"
,
false
).
trigger
(
"change"
);
}
else
{
$
(
'.checkbox'
+
checkMemberId
).
removeAttr
(
'checked'
);
$
(
'.checkbox'
+
userId
).
prop
(
"checked"
,
true
).
trigger
(
"change"
);
}
});
});
...
...
public_new/template/template_make_room_group_user_list.html
View file @
aeed436b
<div
class=
"category"
><div
class=
"category_name"
><span>
{{groupName}}
</span></div></div>
<div
class=
"category"
onclick=
"CHAT_UI.toggleCategory(this);"
><div
class=
"category_name"
><span>
{{groupName}}
</span></div></div>
<ul
class=
"p-0 chat_make_room_list"
>
{{#groupUserList}}
<li
class=
"d-flex align-items-center"
>
<div
class=
"chat_item d-flex flex-row align-items-center w-100"
>
<div
class=
"chat_item d-flex flex-row align-items-center w-100"
onclick=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
>
<div
class=
"chat_item_l_chk"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"checkbox{{shopMemberId}}"
name=
"checkbox[]"
class=
"checkbox-input checkbox{{shopMemberId}}"
onc
hange
=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
{{
checked
}}
>
<input
type=
"checkbox"
id=
"checkbox{{shopMemberId}}"
name=
"checkbox[]"
class=
"checkbox-input checkbox{{shopMemberId}}"
onc
lick
=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
{{
checked
}}
>
<span
class=
"checkbox-parts"
></span>
</label>
</div>
...
...
public_new/template/template_make_room_user_list.html
View file @
aeed436b
<ul
class=
"p-0 chat_make_room_list"
>
{{#userList}}
<li
class=
"d-flex align-items-center"
>
<div
class=
"chat_item d-flex flex-row align-items-center w-100"
>
<div
class=
"chat_item d-flex flex-row align-items-center w-100"
onclick=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
>
<div
class=
"chat_item_l_chk"
>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
id=
"checkbox{{shopMemberId}}"
name=
"checkbox[]"
class=
"checkbox-input checkbox{{shopMemberId}}"
onc
hange
=
"CHAT_UI.checkForMakeChat({{shopMemberId}});"
{{
checked
}}
>
<input
type=
"checkbox"
id=
"checkbox{{shopMemberId}}"
name=
"checkbox[]"
class=
"checkbox-input checkbox{{shopMemberId}}"
onc
lick
=
"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