You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey guys,
I'm using queue with start/stop button in my upload page and I'm trying to send individual extradata for each file but as I start the queue extra data of all files are the one I chose in the last file.
I tried multiple: false, extFilter: ['jpg', 'jpeg', 'png', 'gif'], extraData: function () { return { "foo": $("#foo").val(), "bar": $("#bar").val() }; } ,
or even: onNewFile: function (id, file) { ..... $('#drag-and-drop-zone').data('dmUploader').settings.extraData = { "foo": $("#foo").val(), "bar": $("#bar").val() }; ....... }
and so far i still recieve all files with last file extradata in my server-side
Any idea how this task can be done?
The text was updated successfully, but these errors were encountered:
hey guys,
I'm using queue with start/stop button in my upload page and I'm trying to send individual extradata for each file but as I start the queue extra data of all files are the one I chose in the last file.
I tried
multiple: false, extFilter: ['jpg', 'jpeg', 'png', 'gif'], extraData: function () { return { "foo": $("#foo").val(), "bar": $("#bar").val() }; } ,
or even:
onNewFile: function (id, file) { ..... $('#drag-and-drop-zone').data('dmUploader').settings.extraData = { "foo": $("#foo").val(), "bar": $("#bar").val() }; ....... }
and so far i still recieve all files with last file extradata in my server-side
Any idea how this task can be done?
The text was updated successfully, but these errors were encountered: