summaryrefslogtreecommitdiffstats
path: root/files/templates
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-07-20 15:50:42 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-07-20 15:51:19 +0200
commit6b034ad2f9ef2d5443cc9b1b02b19ba20a11f37f (patch)
tree391ce4e3714f35ac4e4966fefc74d2b01ac038c2 /files/templates
parent5539f671359af44634ed1de8ab5c4b8be20ee477 (diff)
downloadnextcloud-server-6b034ad2f9ef2d5443cc9b1b02b19ba20a11f37f.tar.gz
nextcloud-server-6b034ad2f9ef2d5443cc9b1b02b19ba20a11f37f.zip
Allow users to start a new upload before the current upload has finished
Diffstat (limited to 'files/templates')
-rw-r--r--files/templates/index.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index 2ee3651836f..efc92900637 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -1,14 +1,14 @@
<div class="controls">
<div class="actions">
- <form id="file_upload_form" action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target">
+ <form data-upload-id='1' class="file_upload_form" action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target_1">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_["uploadMaxFilesize"] ?>" id="max_upload">
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_["uploadMaxHumanFilesize"]; ?>)">
<input type="hidden" name="dir" value="<?php echo $_["dir"] ?>" id="dir">
- <div id='file_upload_wrapper'>
- <input class="prettybutton" id='file_upload_filename' value="Upload (max. <?php echo $_["uploadMaxHumanFilesize"];?>)"/>
- <input class="prettybutton" type="file" id="file_upload_start" name='files[]'/>
+ <div class='file_upload_wrapper'>
+ <input class="prettybutton file_upload_filename" value="Upload (max. <?php echo $_["uploadMaxHumanFilesize"];?>)"/>
+ <input class="prettybutton file_upload_start" type="file" name='files[]'/>
</div>&nbsp;
- <iframe id="file_upload_target" name="file_upload_target" src=""></iframe>
+ <iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
</form>
<form id="file_newfolder_form">
<input type="text" class="prettybutton" name="file_newfolder_name" id="file_newfolder_name" value="New Folder" />&nbsp;