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
3d2da3a6
Commit
3d2da3a6
authored
Jul 27, 2021
by
onuma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contact.htmlへの遷移をcontact.js から namecard.jsに移動。
parent
6948af59
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
public_new/archive_detail.html
+0
-1
public_new/chat_room.html
+0
-1
public_new/js/views/contact/contact.js
+0
-7
public_new/js/views/contact/namecard.js
+11
-0
public_new/template/template_user_name_card.html
+1
-1
No files found.
public_new/archive_detail.html
View file @
3d2da3a6
...
...
@@ -74,7 +74,6 @@
<script
src=
"./js/Models/serverinfo.js"
></script>
<script
src=
"./js/Models/userinfo.js"
></script>
<!-- view -->
<script
src=
"./js/views/contact/contact.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
<script
src=
"./js/views/archive/archive.js"
></script>
<script>
...
...
public_new/chat_room.html
View file @
3d2da3a6
...
...
@@ -172,7 +172,6 @@
<script
src=
"./js/views/chats/chat-room.js"
></script>
<script
src=
"./js/views/chats/chat-room-search.js"
></script>
<script
src=
"./js/views/chats/chat-room-message.js"
></script>
<script
src=
"./js/views/contact/contact.js"
></script>
<script
src=
"./js/views/contact/namecard.js"
></script>
<script
src=
"./js/common/loading.js"
></script>
...
...
public_new/js/views/contact/contact.js
View file @
3d2da3a6
...
...
@@ -257,13 +257,6 @@ Contact.insertFavoriteGroup = function (groupID) {
//全グループ検索画面表示。
Contact
.
refreshAllGroupSearch
=
function
(
paramGroupID
)
{
const
groupID
=
paramGroupID
;
if
(
window
.
location
.
pathname
.
includes
(
"chat_room"
)
||
window
.
location
.
pathname
.
includes
(
"archive_detail"
))
{
if
(
groupID
==
""
)
return
;
NativeBridgeDelegate
.
setToMoveGroupId
(
groupID
);
window
.
location
.
href
=
"contact.html"
;
}
Common
.
showLoadingIndicator
();
...
...
public_new/js/views/contact/namecard.js
View file @
3d2da3a6
...
...
@@ -106,3 +106,14 @@ Namecard.refreshForOnline = function () {
Namecard
.
refreshForOffline
=
function
()
{
$
(
"#favoriteButton"
).
prop
(
"disabled"
,
true
);
};
Namecard
.
moveContactPage
=
function
(
paramGroupID
)
{
const
groupID
=
paramGroupID
;
if
(
window
.
location
.
pathname
.
includes
(
"chat_room"
)
||
window
.
location
.
pathname
.
includes
(
"archive_detail"
))
{
if
(
groupID
==
""
)
return
;
NativeBridgeDelegate
.
setToMoveGroupId
(
groupID
);
window
.
location
.
href
=
"contact.html"
;
}
}
public_new/template/template_user_name_card.html
View file @
3d2da3a6
...
...
@@ -14,7 +14,7 @@
</div>
<div
class=
"modal-body"
id=
"userNameCard-scroll"
>
{{#groupPathList}}
<li
onclick=
"
Contact.refreshAllGroupSearch
({{groupId}});"
><b>
{{groupPath}}
</b></li>
<li
onclick=
"
Namecard.moveContactPage
({{groupId}});"
><b>
{{groupPath}}
</b></li>
{{/groupPathList}}
</div>
<div
class=
"modal-footer border-0 justify-content-center"
>
...
...
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