Remove the forced download§
This commit is contained in:
parent
47bad20132
commit
0465129eba
|
@ -15,8 +15,6 @@ class OC_JSON{
|
||||||
if (!self::$send_content_type_header){
|
if (!self::$send_content_type_header){
|
||||||
// We send json data
|
// We send json data
|
||||||
header( 'Content-Type: '.$type );
|
header( 'Content-Type: '.$type );
|
||||||
// Force download
|
|
||||||
header( 'Content-Disposition: attachment' );
|
|
||||||
self::$send_content_type_header = true;
|
self::$send_content_type_header = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue