Skip to content

Commit

Permalink
oneditionend
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhodel authored and paulhodel committed Aug 22, 2019
1 parent 0d9fbdf commit 5d2d55d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dist/jexcel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,13 @@ var jexcel = (function(el, options) {
var x = parseInt(cell.getAttribute('data-x'));
var y = parseInt(cell.getAttribute('data-y'));

// On edition end
if (! obj.ignoreEvents) {
if (typeof(obj.options.oneditionend) == 'function') {
obj.options.oneditionend(el, cell, x, y, value, save);
}
}

// Get cell properties
if (save == true) {
// If custom editor
Expand Down Expand Up @@ -1520,14 +1527,7 @@ var jexcel = (function(el, options) {

// Finish edition
obj.edition = null;

// On edition end
if (! obj.ignoreEvents) {
if (typeof(obj.options.oneditionend) == 'function') {
obj.options.oneditionend(el, cell, x, y, value);
}
}
},
}

/**
* Get the cell object
Expand Down

0 comments on commit 5d2d55d

Please sign in to comment.