Commit 780f4c82 authored by Harald Schubert's avatar Harald Schubert

SAPUI5: bug fixes (tab preserves todo changes, enter always finishes editing)

parent ba9a2fc9
...@@ -48,6 +48,13 @@ ...@@ -48,6 +48,13 @@
} }
}, },
onfocusout: function (e) { onfocusout: function (e) {
this.stopEditing(e);
},
onsapenter: function (e) {
this.stopEditing(e);
},
stopEditing: function (e) {
this._checkChange(e);
if (this.getProperty('strongediting')) { if (this.getProperty('strongediting')) {
if (!this.getEditable()) { if (!this.getEditable()) {
return; return;
......
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