Semantics.

This commit is contained in:
Lars Jung 2013-07-19 00:20:21 +02:00
parent 694ababf15
commit ec5220a5f9
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ modulejs.define('ext/download', ['_', '$', 'core/settings', 'core/resource', 'co
var type = settings.type,
extension = (type === 'shell-zip') ? 'zip' : 'tar',
query = {
action: 'passArchive',
action: 'download',
as: (settings.packageName || location.getItem().label) + '.' + extension,
type: type,
hrefs: selectedHrefsStr

View file

@ -100,7 +100,7 @@ class Api {
}
else if ($action === "passArchive") {
else if ($action === "download") {
json_fail(1, "downloads disabled", !$options["download"]["enabled"]);