Ensure edited_column empty value is always null
This commit is contained in:
1 parent
53ee7e7718
commit
f01b7f1b0b
1 file changed
+2
-2
+2
-2
@@ -832,7 +832,7 @@
|
||||
init: function(tree, record, pos, parent) {
|
||||
Sao.View.Tree.RowEditable._super.init.call(this, tree, record, pos,
|
||||
parent);
|
||||
this.edited_column = undefined;
|
||||
this.edited_column = null;
|
||||
},
|
||||
redraw: function(selected, expanded) {
|
||||
var i, tr, td, widget;
|
||||
@@ -876,7 +876,7 @@
|
||||
}
|
||||
save_prm.done(function () {
|
||||
if (previously_selected &&
|
||||
previously_selected.edited_column !== undefined) {
|
||||
previously_selected.edited_column !== null) {
|
||||
previous_td = previously_selected.get_active_td();
|
||||
previous_td.on('click keypress', {
|
||||
td: previous_td,
|
||||
|
||||
Reference in new issue
Block a user