Fix of empty folder bug by Jon Daley (roundcube@jon.limedaley.com)

release-0.6
svncommit 19 years ago
parent 9c8b36488f
commit e1cf7c4c35

@ -3012,8 +3012,11 @@ function rcube_webmail()
this.http_response = function(request_obj) this.http_response = function(request_obj)
{ {
var ctype = request_obj.get_header('Content-Type'); var ctype = request_obj.get_header('Content-Type');
if (ctype) if (ctype){
ctype = String(ctype).toLowerCase(); ctype = String(ctype).toLowerCase();
var ctype_array=ctype.split(";");
ctype = ctype_array[0];
}
if (request_obj.__lock) if (request_obj.__lock)
this.set_busy(false); this.set_busy(false);

Loading…
Cancel
Save