Merge pull request #925 from owncloud/fix_issue_918
Trigger the last action before continuing with a file upload
This commit is contained in:
commit
8e44404ae0
|
@ -203,6 +203,9 @@ $(document).ready(function() {
|
|||
var files = data.files;
|
||||
var totalSize=0;
|
||||
if(files){
|
||||
if (FileList.lastAction) {
|
||||
FileList.lastAction();
|
||||
}
|
||||
for(var i=0;i<files.length;i++){
|
||||
if(files[i].size ==0 && files[i].type== '')
|
||||
{
|
||||
|
@ -513,6 +516,9 @@ $(document).ready(function() {
|
|||
$('#notification').fadeIn();
|
||||
return;
|
||||
}
|
||||
if (FileList.lastAction) {
|
||||
FileList.lastAction();
|
||||
}
|
||||
var name = getUniqueName($(this).val());
|
||||
if (name != $(this).val()) {
|
||||
FileList.checkName(name, $(this).val(), true);
|
||||
|
|
Loading…
Reference in New Issue