From e1cf7c4c356495fb53db086d0e46dfe0a75f319c Mon Sep 17 00:00:00 2001 From: svncommit Date: Mon, 15 May 2006 14:12:14 +0000 Subject: Fix of empty folder bug by Jon Daley (roundcube@jon.limedaley.com) --- program/js/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'program/js') 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); -- cgit v1.2.3