Add support for JSON listing #1
@ -53,7 +53,7 @@ function handleDownloadRequest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if we are requesting a JSON formatted view.
|
// Check if we are requesting a JSON formatted view.
|
||||||
if ($_GET['format'] == 'json') {
|
if (isset($_GET['format']) && $_GET['format'] == 'json') {
|
||||||
renderDownloadResponseAsJSON($lister);
|
renderDownloadResponseAsJSON($lister);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user