Skip to content

Commit

Permalink
Merge pull request tastejs#625 from schubertha/gh-pages
Browse files Browse the repository at this point in the history
SAPUI5: bug fixes (tab preserves todo changes, enter always finishes editing)
  • Loading branch information
passy committed Jul 9, 2013
2 parents ba9a2fc + 780f4c8 commit 9a2ad38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions labs/architecture-examples/sapui5/js/todo/SmartTextField.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@
}
},
onfocusout: function (e) {
this.stopEditing(e);
},
onsapenter: function (e) {
this.stopEditing(e);
},
stopEditing: function (e) {
this._checkChange(e);
if (this.getProperty('strongediting')) {
if (!this.getEditable()) {
return;
Expand Down

0 comments on commit 9a2ad38

Please sign in to comment.