Commit a7ad1cef authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Handsontable: restrict rules event to columns changed

parent 23c3f28c
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment