1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00

Fix catalog export (fix #899)

This commit is contained in:
Afterster 2015-07-10 22:44:22 +02:00
parent 9f51e5e388
commit f946a1ce04
2 changed files with 2 additions and 2 deletions

View file

@ -88,7 +88,7 @@ $(function() {
$("body").delegate("form", "submit", function(e) {
// We do not support ajax post with files or login form, neither specific target
var $file = $(this).find("input[type=file]");
if ($(this).attr('name') !== 'login' && (!$file || !$file.val() || $file.val() === "") && ($(this).attr('target') === undefined || $(this).attr('target') === '')) {
if ($(this).attr('name') !== 'login' && $(this).attr('name') !== 'export' && (!$file || !$file.val() || $file.val() === "") && ($(this).attr('target') === undefined || $(this).attr('target') === '')) {
var postData = $(this).serializeArray();
var formURL = $(this).attr("action");