Skip to content

Commit

Permalink
Merge pull request #35059 from owncloud/release-10.2.0-fix-file-drop-…
Browse files Browse the repository at this point in the history
…progress

[10.2.0] Fix missing progress bar in files drop view
  • Loading branch information
Vincent Petry authored Apr 18, 2019
2 parents 1863ae6 + 678a402 commit 8635818
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 8635818

Please sign in to comment.