Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
647145ea
Commit
647145ea
authored
Jan 08, 2015
by
Jerome Mariette
Browse files
add a render function
parent
aaabb1b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/example1.html
View file @
647145ea
...
...
@@ -208,11 +208,14 @@
});
$
(
"
#rerun_workflow
"
).
click
(
function
(){
$
(
'
#statusModalBody
'
).
wfstatus
(
'
rerun
'
);
});
$
(
"
#reset_workflow
"
).
click
(
function
(){
$
(
'
#setAndRunModalBody
'
).
wfform
(
'
reset
'
);
});
$
(
"
#back_workflow
"
).
click
(
function
(){
$
(
'
#statusModalBody
'
).
wfstatus
(
'
reload
'
);
$
(
'
#setAndRunModal
'
).
on
(
'
shown.bs.modal
'
,
function
()
{
$
(
'
#setAndRunModalBody
'
).
wfform
(
'
render
'
);
});
$
(
"
#back_workflow
"
).
click
(
function
(){
$
(
'
#statusModalBody
'
).
wfstatus
(
'
reload
'
);
$
(
'
#back_workflow
'
).
hide
();
$
(
'
.status-panel
'
).
show
();
});
});
$
(
"
#run_workflow
"
).
click
(
function
(){
$
(
'
#setAndRunModalBody
'
).
wfform
(
'
run
'
);
$
(
'
#back_workflow
'
).
hide
();
...
...
src/js/jflow-wfform.js
View file @
647145ea
...
...
@@ -342,6 +342,12 @@ jQuery.validator.addMethod("mparam", function(value, element, params) {
}
}
WFForm
.
prototype
.
render
=
function
()
{
$
(
"
[id^=handsontable_]
"
).
each
(
function
(){
$
(
this
).
handsontable
(
"
render
"
);
});
}
WFForm
.
prototype
.
load
=
function
()
{
var
$this
=
this
,
waiting_animation
=
[
'
<div class="container-fluid"><div class="row"><div class="col-md-1 col-md-offset-2"><div class="inline floatingBarsG">
'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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