Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cto
g1
Commits
55bf8f0f
Commit
55bf8f0f
authored
May 21, 2020
by
Jaidev Deshpande
Browse files
ENH: Add failHandler to template_data
parent
69ffcde7
Pipeline
#124356
failed with stage
in 3 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/formhandler.js
View file @
55bf8f0f
...
...
@@ -123,7 +123,8 @@ export function formhandler(js_options) {
col_defaults
:
col_defaults
,
isEdit
:
false
,
isAdd
:
false
,
templates
:
default_templates
templates
:
default_templates
,
_failHandler
:
failHandler
.
bind
(
this
,
$this
,
template
)
}
// Store template_data in $this
$this
.
data
(
'
formhandler
'
,
template_data
)
...
...
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