Skip to content

Commit

Permalink
Bug: 14657 Work around Chrome's issue with removeAttribute().
Browse files Browse the repository at this point in the history
Fixes being able to reattach a file after removing it.
  • Loading branch information
mrubinsk committed Jun 25, 2017
1 parent 111bbd2 commit 1977056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imp/js/compose-dimp.js
Expand Up @@ -891,6 +891,7 @@ var DimpCompose = {
afterFinish: function() {
this.removeAttachRow(elt);
this.initAttachList();
$('upload').value = '';
$('upload').removeAttribute('value');
$('upload').replace($('upload').cloneNode(true));
}.bind(this),
Expand Down

0 comments on commit 1977056

Please sign in to comment.