Topic: Multiple selection issue

I have a plupload widget inside an accordion, so to make it works on iPad and other non windows devices I refresh it just before to make it visible.
It works but some limitations:

1) On android only the camera is triggered when I click on the add button (I can't browse the folders)
2) On iPad/iPhones I can browse the folders but I can't select multiple files.

I have tried to call the init method before open the accordion section that contains the plupload, and this way I can select multiple files on iPad, BUT seems that the queue is duplicated and also the files are uploaded twice.

All these problems do not occur using the same piece of code outside the accordion.

This is the line of code i call when the accordion section is triggered

var uploader = $('#uploader').pluploadQueue();

and this is the plupload script

<div id="uploader">
<p>Your browser doesn't have Flash, Silverlight or HTML5 support.</p>
<script type="text/javascript">
// Initialize the widget when the DOM is ready
$(function() {
    // Setup html5 version
        // General settings
        runtimes : 'html5,flash,silverlight,html4',
        url : "../upload.php",
        chunk_size : '1mb',
        rename : true,
        dragdrop: true,
        multiple_queues: true,
        filters : {
            // Maximum file size
            max_file_size : '10mb',
            // Specify what files to browse for
            mime_types: [
                {title : "Image files", extensions : "jpg,JPG,gif,GIF,png,PNG,jpeg,JPEG"}
        // Resize images on clientside if we can
        resize: {
            width : 850,
            quality : 75,
        init : {
            FileUploaded: function(up, file, info) {
                    // Called when file has finished uploading
        // Flash settings
        flash_swf_url : '/upload/js/Moxie.swf',
        // Silverlight settings
        silverlight_xap_url : '/upload/js/Moxie.xap'


2 (edited by luca 2016-04-26 17:41:09)

Re: Multiple selection issue

Finally solved by taking the Javascript off the page (not embedded) and by calling it only when the accordion section is visible.
As reported in other topics the invisible elements creates problems with pupload, sounds simple, but I took some hours to find the solution.