Skip to content

Commit

Permalink
Merge pull request #35032 from owncloud/fix-file-drop-progress
Browse files Browse the repository at this point in the history
Fix missing progress bar in files drop view
  • Loading branch information
Vincent Petry authored Apr 18, 2019
2 parents 5f74304 + 92f4e60 commit ec033b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files_sharing/js/PublicUploadView.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@
var view = new OCA.Sharing.PublicUploadView({
shareToken: $('#sharingToken').val()
});
$('#preview .uploadForm').append(view.$el);

view.render();

$('#preview .uploadForm').append(view.$el);
$('#uploadprogresswrapper .stop').on('click', function () {
view.onUploadCancel();
});
Expand Down

0 comments on commit ec033b2

Please sign in to comment.