fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15445]


From: nelson . guerra
Subject: [Fmsystem-commits] [15445]
Date: Thu, 11 Aug 2016 01:17:30 +0000 (UTC)

Revision: 15445
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15445
Author:   nelson224
Date:     2016-08-11 01:17:30 +0000 (Thu, 11 Aug 2016)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php

Modified: branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php
===================================================================
--- branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php 2016-08-10 
11:07:49 UTC (rev 15444)
+++ branches/dev-syncromind-2/phpgwapi/inc/class.jquery.inc.php 2016-08-11 
01:17:30 UTC (rev 15445)
@@ -497,7 +497,7 @@
                                                <!-- The fileinput-button span 
is used to style the file input field as button -->
                                                <span class="fileinput-button">
                                                        <span>Add 
files...</span>
-                                                       <input type="file" 
name="files[]" multiple>
+                                                       <input type="file" 
id="files" name="files[]" multiple>
                                                </span>
                                                <button type="submit" 
class="start">Start upload</button>
                                                <button type="reset" 
class="cancel">Cancel upload</button>
@@ -515,7 +515,11 @@
                                        </div>
                                </div>
                                <!-- The table listing the files available for 
upload/download -->
-                               <table role="presentation"><tbody 
class="files"></tbody></table>
+                               <div style="position: relative; overflow: auto; 
max-height: 50vh; width: 100%;">
+                                       <table role="presentation">
+                                               <tbody class="files"></tbody>
+                                       </table>
+                               </div>
                        </form>
 
                        <!-- The template to display files available for upload 
-->
@@ -579,14 +583,15 @@
                                        
                $(function () {
                        'use strict';
-
+                                       
                        // Initialize the jQuery File Upload widget:
                        $('#fileupload').fileupload({
                                // Uncomment the following to send cross-domain 
cookies:
                                //xhrFields: {withCredentials: true},
-                               url: '{$action}'
+                               url: '{$action}',
+                               limitConcurrentUploads: 4
                        });
-
+                               
                        // Enable iframe cross-domain access via redirect 
option:
                        $('#fileupload').fileupload(
                                'option',
@@ -596,7 +601,7 @@
                                        '/cors/result.html?%s'
                                )
                        );
-
+                               
                        // Load existing files:
                        $('#fileupload').addClass('fileupload-processing');
                        $.ajax({




reply via email to

[Prev in Thread] Current Thread [Next in Thread]