Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3ff35766
authored
Aug 18, 2018
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix js
parent
6fd7c943
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
xxl-job-admin/src/main/webapp/static/js/jobinfo.index.1.js
View file @
3ff35766
...
...
@@ -307,6 +307,12 @@ $(function() {
executorTimeout
=
0
;
}
$
(
"#addModal .form input[name='executorTimeout']"
).
val
(
executorTimeout
);
var
executorFailRetryCount
=
$
(
"#addModal .form input[name='executorFailRetryCount']"
).
val
();
if
(
!
/^
\d
+$/
.
test
(
executorFailRetryCount
))
{
executorFailRetryCount
=
0
;
}
$
(
"#addModal .form input[name='executorFailRetryCount']"
).
val
(
executorFailRetryCount
);
$
.
post
(
base_url
+
"/jobinfo/add"
,
$
(
"#addModal .form"
).
serialize
(),
function
(
data
,
status
)
{
if
(
data
.
code
==
"200"
)
{
...
...
@@ -456,6 +462,11 @@ $(function() {
executorTimeout
=
0
;
}
$
(
"#updateModal .form input[name='executorTimeout']"
).
val
(
executorTimeout
);
var
executorFailRetryCount
=
$
(
"#updateModal .form input[name='executorFailRetryCount']"
).
val
();
if
(
!
/^
\d
+$/
.
test
(
executorFailRetryCount
))
{
executorFailRetryCount
=
0
;
}
$
(
"#updateModal .form input[name='executorFailRetryCount']"
).
val
(
executorFailRetryCount
);
// post
$
.
post
(
base_url
+
"/jobinfo/update"
,
$
(
"#updateModal .form"
).
serialize
(),
function
(
data
,
status
)
{
...
...
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