mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Add new display_user_field plugin type ; Paypal and Flattr user donation plugin
This commit is contained in:
parent
ad64c4982b
commit
2837c44fe8
8 changed files with 255 additions and 8 deletions
|
@ -86,9 +86,9 @@ $(function() {
|
|||
});
|
||||
|
||||
$("body").delegate("form", "submit", function(e) {
|
||||
// We do not support ajax post with files or login form
|
||||
// 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() === "")) {
|
||||
if ($(this).attr('name') !== 'login' && (!$file || !$file.val() || $file.val() === "") && ($(this).attr('target') === undefined || $(this).attr('target') === '')) {
|
||||
var postData = $(this).serializeArray();
|
||||
var formURL = $(this).attr("action");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue