diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-10-10 06:53:58 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-10-10 06:53:58 +0000 |
| commit | e57c30d5feaeb5c879100c02c17d2408c76ae5a5 (patch) | |
| tree | 43898f87c3df289b33aba1bc851bd21a87d6b7a2 | |
| parent | ed8200fb2a1652e5f7743610815b39ebdbbd1865 (diff) | |
Suppress IE errors when clearing attachments form (#1484356)
git-svn-id: https://svn.roundcube.net/trunk@864 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 933a899d3..93db5931f 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1857,8 +1857,11 @@ function rcube_webmail() } // clear upload form - if (!a && this.gui_objects.attachmentform && this.gui_objects.attachmentform!=this.gui_objects.messageform) - this.gui_objects.attachmentform.reset(); + try { + if (!a && this.gui_objects.attachmentform != this.gui_objects.messageform) + this.gui_objects.attachmentform.reset(); + } + catch(e){} // ignore errors return true; }; |
