Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to send extra data when sending file #29

Merged
merged 4 commits into from
Feb 1, 2014
Merged

Conversation

Rovak
Copy link
Owner

@Rovak Rovak commented Jan 25, 2014

Added extra configuration options to send extra POST data when uploading a file

Example:

$('textarea').inlineattach({
    uploadUrl: 'upload_attachment.php',
    extraParams: {
        id: 100 // Extra parameter, in PHP this would be available as $_POST['id']
    }
});

@ghost ghost assigned Rovak Jan 25, 2014
Rovak added a commit that referenced this pull request Feb 1, 2014
Add option to send extra data when sending file
@Rovak Rovak merged commit 427ad70 into develop Feb 1, 2014
@Rovak Rovak deleted the dev/extraparams branch February 1, 2014 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant