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
typo3
qfq
Commits
6af75b5f
Commit
6af75b5f
authored
Nov 07, 2019
by
Benjamin Baer
Committed by
Carsten Rose
Nov 07, 2019
Browse files
B9035 tablesorter filter triggers save
parent
5c3c5b2f
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
6af75b5f
...
...
@@ -10,6 +10,7 @@
*.swp
.project
.webprj
.vscode
nbprojec
# Created by .ignore support plugin (hsz.mobi)
...
...
@@ -48,6 +49,7 @@ composer.lock
/extension/vendor
/extension/Documentation/_make
/extension/Documentation/html
/extension/Resources/Public/Css
/extension/Resources/Public/fonts
/extension/Resources/Public/JavaScript
...
...
Gruntfile.js
View file @
6af75b5f
...
...
@@ -579,7 +579,7 @@ module.exports = function (grunt) {
watch
:
{
scripts
:
{
files
:
js_sources
.
concat
([
'
less/*.less
'
]),
tasks
:
[
'
default
'
],
tasks
:
[
'
only-js
'
,
'
less
'
],
options
:
{
spawn
:
true
}
...
...
@@ -601,7 +601,7 @@ module.exports = function (grunt) {
// Default task(s).
grunt
.
registerTask
(
'
default
'
,
[
'
jshint
'
,
'
concat_in_order
'
,
'
uglify
'
,
'
copy
'
,
'
less
'
]);
grunt
.
registerTask
(
'
only-js
'
,
[
'
jshint
'
,
'
concat_in_order
'
,
'
uglify
'
,
'
copy
'
]);
grunt
.
registerTask
(
'
only-js
'
,
[
'
jshint
'
,
'
concat_in_order
'
,
'
uglify
'
,
'
copy
:qfqPlugins
'
,
'
copy:worker
'
]);
grunt
.
registerTask
(
'
run-jasmine
'
,
[
'
jshint
'
,
'
concat_in_order
'
,
'
jasmine
'
]);
...
...
javascript/src/Form.js
View file @
6af75b5f
...
...
@@ -74,19 +74,22 @@ var QfqNS = QfqNS || {};
// and return. The `form.changed` event has already been emitted by `Form#inputAndPasteHandler()`.
return
;
}
this
.
markChanged
();
this
.
markChanged
(
event
.
target
);
};
n
.
Form
.
prototype
.
inputAndPasteHandler
=
function
(
event
)
{
this
.
inputAndPasteHandlerCalled
=
true
;
this
.
markChanged
();
this
.
markChanged
(
event
.
target
);
};
n
.
Form
.
prototype
.
getFormChanged
=
function
()
{
return
this
.
formChanged
;
};
n
.
Form
.
prototype
.
markChanged
=
function
()
{
n
.
Form
.
prototype
.
markChanged
=
function
(
initiator
)
{
if
(
initiator
.
classList
.
contains
(
"
qfq-skip-dirty
"
))
{
return
;
}
this
.
setFormChangedState
();
this
.
eventEmitter
.
emitEvent
(
'
form.changed
'
,
n
.
EventEmitter
.
makePayload
(
this
,
null
));
};
...
...
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