Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
bef08cdd
Commit
bef08cdd
authored
Sep 26, 2019
by
bbaer
Browse files
Removed dirty flag when 'enable-save-button' is set.
parent
1221dca8
Pipeline
#2418
passed with stages
in 2 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
javascript/src/QfqForm.js
View file @
bef08cdd
...
...
@@ -60,7 +60,7 @@ var QfqNS = QfqNS || {};
};
if
(
!!
$
(
'
#
'
+
QfqNS
.
escapeJqueryIdSelector
(
this
.
formId
)).
data
(
'
enable-save-button
'
))
{
this
.
form
=
new
n
.
Form
(
this
.
formId
,
tru
e
);
this
.
form
=
new
n
.
Form
(
this
.
formId
,
fals
e
);
this
.
getSaveButton
().
removeClass
(
"
disabled
"
).
removeAttr
(
"
disabled
"
);
}
else
{
this
.
getSaveButton
().
addClass
(
"
disabled
"
).
attr
(
"
disabled
"
,
"
disabled
"
);
...
...
Write
Preview
Supports
Markdown
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