Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

drop_element was getting overwritten by pluploadQueue #529

Closed
wants to merge 1 commit into from

2 participants

@pape-io

Before the settings for "drop_element" were overwritten... (even if they were setted during in the arguments for the pluploadQueue() call)

@jayarjo
Owner

I'm afraid pluploadQueue is not meant to be extended this way. But you could always patch it for your own uses.

@jayarjo jayarjo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 2, 2012
This page is out of date. Refresh to see the latest.
View
2  src/javascript/jquery.plupload.queue/jquery.plupload.queue.js
@@ -235,7 +235,7 @@
up.settings.browse_button = id + '_browse';
// Enable drag/drop
- if (up.features.dragdrop && up.settings.dragdrop) {
+ if (up.features.dragdrop && up.settings.dragdrop && !up.settings.drop_element) {
up.settings.drop_element = id + '_filelist';
$('#' + id + '_filelist').append('<li class="plupload_droptext">' + _("Drag files here.") + '</li>');
}
Something went wrong with that request. Please try again.