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
c199fd85
authored
Oct 21, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update document
parent
7a371191
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js
View file @
c199fd85
...
...
@@ -318,7 +318,7 @@ $(function() {
// add
$
(
".add"
).
click
(
function
(){
// init
// init
-cronGen
$
(
"#addModal .form input[name='jobCron']"
).
cronGen
({});
$
(
'#addModal'
).
modal
({
backdrop
:
false
,
keyboard
:
false
}).
modal
(
'show'
);
...
...
@@ -412,13 +412,14 @@ $(function() {
}
});
$
(
"#addModal"
).
on
(
'hide.bs.modal'
,
function
()
{
addModalValidate
.
resetForm
();
$
(
"#addModal .form"
)[
0
].
reset
();
addModalValidate
.
resetForm
();
// 清理 cronGen
$
(
"input[name=jobCron]"
).
show
().
siblings
().
remove
();
$
(
"#addModal .form .form-group"
).
removeClass
(
"has-error"
);
$
(
".remote_panel"
).
show
();
// remote
// remove-cronGen
$
(
"input[name=jobCron]"
).
show
().
siblings
().
remove
();
$
(
"#addModal .form input[name='executorHandler']"
).
removeAttr
(
"readonly"
);
});
...
...
@@ -480,7 +481,7 @@ $(function() {
$
(
"#updateModal .form select[name=glueType]"
).
change
();
// init
// init
-cronGen
$
(
"#updateModal .form input[name='jobCron']"
).
cronGen
({});
// show
...
...
@@ -576,8 +577,11 @@ $(function() {
}
});
$
(
"#updateModal"
).
on
(
'hide.bs.modal'
,
function
()
{
$
(
"#updateModal .form"
)[
0
].
reset
();
// 清理 cronGen
updateModalValidate
.
resetForm
();
$
(
"#updateModal .form"
)[
0
].
reset
();
$
(
"#updateModal .form .form-group"
).
removeClass
(
"has-error"
);
// remove-cronGen
$
(
"input[name=jobCron]"
).
show
().
siblings
().
remove
();
});
...
...
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