[SSE] Close dialogs by enter (bug with row height dialog: deleted cell value, when dialog was closed by enter).

This commit is contained in:
Julia Radzhabova 2017-06-21 12:51:14 +03:00
parent 6d3f1f88f9
commit fe48b525d1
2 changed files with 3 additions and 1 deletions

View file

@ -317,7 +317,8 @@ define([
}, },
onPrimary: function() { onPrimary: function() {
return true; this.onDlgBtnClick('ok');
return false;
}, },
onNegativeSelect: function(combo, record) { onNegativeSelect: function(combo, record) {

View file

@ -133,6 +133,7 @@ define([
onPrimary: function() { onPrimary: function() {
this._handleInput('ok'); this._handleInput('ok');
return false;
}, },
cancelButtonText: 'Cancel', cancelButtonText: 'Cancel',