summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-05-15 14:12:14 +0000
committercmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-05-15 14:12:14 +0000
commitc812ecaa409c16455bf512a15e92a2ffff64d2d4 (patch)
treef93cbb09272b8068e9c75c9724569358e7646f0b
parentf9a81c39f60666ae544fa63a68baa0c94233b7bc (diff)
Fix of empty folder bug by Jon Daley (roundcube@jon.limedaley.com)
git-svn-id: https://svn.roundcube.net/trunk@229 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index e6c9e8435..cd5eb96ba 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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);