Commit 9a2ad388 authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #625 from schubertha/gh-pages

SAPUI5: bug fixes (tab preserves todo changes, enter always finishes editing)
parents ba9a2fc9 780f4c82
...@@ -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