Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
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
abook_web
check
Commits
ff062f69
Commit
ff062f69
authored
Nov 14, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev_50270' into 'feature/1.0_check_web_dev'
add loading when send message See merge request
!53
parents
6abaceb7
62f69245
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
abweb/common/json/lang/lang-en.json
+3
-1
abweb/common/json/lang/lang-ja.json
+3
-1
abweb/common/json/lang/lang-ko.json
+3
-1
abweb/js/sendMessage/sendMessage.js
+6
-1
No files found.
abweb/common/json/lang/lang-en.json
View file @
ff062f69
...
...
@@ -115,5 +115,6 @@
"categorySelection"
:
"Category Selection"
,
"categoryAll"
:
"All"
,
"reportForm"
:
"Report"
,
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
,
"msgSendPushMessageSuccess"
:
"we sent a push message"
}
\ No newline at end of file
abweb/common/json/lang/lang-ja.json
View file @
ff062f69
...
...
@@ -113,5 +113,6 @@
"categorySelection"
:
"カテゴリー選択"
,
"categoryAll"
:
"すべて"
,
"reportForm"
:
"報告"
,
"periodicInspectionPeriod"
:
"定期点検期間"
"periodicInspectionPeriod"
:
"定期点検期間"
,
"msgSendPushMessageSuccess"
:
"プッシュメッセージ送信しました。"
}
\ No newline at end of file
abweb/common/json/lang/lang-ko.json
View file @
ff062f69
...
...
@@ -112,5 +112,6 @@
"categorySelection"
:
"Category Selection"
,
"categoryAll"
:
"All"
,
"reportForm"
:
"보고서"
,
"periodicInspectionPeriod"
:
"정기점검기간"
"periodicInspectionPeriod"
:
"정기점검기간"
,
"msgSendPushMessageSuccess"
:
"푸시메시지를 보냈습니다."
}
\ No newline at end of file
abweb/js/sendMessage/sendMessage.js
View file @
ff062f69
...
...
@@ -79,6 +79,7 @@ SendMessage.onClickSend = function () {
* @param {int} sendType - 0: Group, 1: All
*/
SendMessage
.
postMessage
=
function
(
message
,
operationId
,
sendType
)
{
COMMON
.
showLoading
();
let
param
=
{
sid
:
COMMON
.
getSid
(),
message
:
message
,
...
...
@@ -89,9 +90,13 @@ SendMessage.postMessage = function (message, operationId, sendType) {
SendMessage
.
baseApiUrl
,
param
,
false
,
function
(
json
)
{},
function
(
json
)
{
COMMON
.
closeLoading
();
alert
(
I18N
.
i18nText
(
'msgSendPushMessageSuccess'
));
},
function
()
{
console
.
log
(
'SendMessage.postMessage error'
);
COMMON
.
closeLoading
();
},
);
};
...
...
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