summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-05-15 14:12:14 +0000
committersvncommit <devs@roundcube.net>2006-05-15 14:12:14 +0000
commite1cf7c4c356495fb53db086d0e46dfe0a75f319c (patch)
treef999c81924f17ac71306a3505e5cce7d69c7743e
parent9c8b36488f347c209513eef8edea82e57dca2ddd (diff)
Fix of empty folder bug by Jon Daley (roundcube@jon.limedaley.com)
-rw-r--r--program/js/app.js5
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);