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
genotoul-bioinfo
jflow
Commits
a7ad1cef
Commit
a7ad1cef
authored
Mar 17, 2017
by
Floreal Cabanettes
Browse files
Handsontable: restrict rules event to columns changed
parent
23c3f28c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/js/jflow-wfform.js
View file @
a7ad1cef
...
...
@@ -1171,7 +1171,7 @@ Handsontable.cellTypes["bootdate"] = Handsontable.BootstrapDateCell;
var
triggered
=
[];
for
(
var
i
=
0
;
i
<
changes
.
length
;
i
++
)
{
var
prop
=
changes
[
i
][
1
];
if
(
triggered
.
indexOf
(
prop
)
==
-
1
)
{
if
(
changes
[
i
][
2
]
!=
changes
[
i
][
3
]
&&
triggered
.
indexOf
(
prop
)
==
-
1
)
{
$this
.
$element
.
trigger
(
"
change_
"
+
prop
);
triggered
.
push
(
prop
);
}
...
...
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