diff options
author | svncommit <devs@roundcube.net> | 2006-05-15 14:12:14 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2006-05-15 14:12:14 +0000 |
commit | e1cf7c4c356495fb53db086d0e46dfe0a75f319c (patch) | |
tree | f999c81924f17ac71306a3505e5cce7d69c7743e /program/js | |
parent | 9c8b36488f347c209513eef8edea82e57dca2ddd (diff) |
Fix of empty folder bug by Jon Daley (roundcube@jon.limedaley.com)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index e6c9e8435..cd5eb96ba 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3012,8 +3012,11 @@ function rcube_webmail() this.http_response = function(request_obj) { var ctype = request_obj.get_header('Content-Type'); - if (ctype) + if (ctype){ ctype = String(ctype).toLowerCase(); + var ctype_array=ctype.split(";"); + ctype = ctype_array[0]; + } if (request_obj.__lock) this.set_busy(false); |