Skip to content

Commit

Permalink
Be sure to close open autocomplete windows when leaving smartmobile c…
Browse files Browse the repository at this point in the history
…ompose screen
  • Loading branch information
slusarz committed Jan 30, 2014
1 parent fa0be92 commit 5df498f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imp/js/smartmobile.js
Expand Up @@ -1208,6 +1208,9 @@ var ImpMobile = {
closeCompose: function()
{
$('#imp-compose-form')[0].reset();
$.each($('#imp-compose-to,#imp-compose-cc'), function(undefined, v) {
$(v).autocomplete('clear');
});
window.history.back();
},

Expand Down

0 comments on commit 5df498f

Please sign in to comment.