Fix docker file build form to read the files from its local uploader, rather than just the first one it finds
This commit is contained in:
parent
8b32aeb890
commit
9f3395ada1
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ angular.module('quay').directive('dockerfileBuildForm', function () {
|
|||
$scope.uploading = true;
|
||||
$scope.uploading_progress = 0;
|
||||
|
||||
var uploader = $('#file-drop')[0];
|
||||
var uploader = $element.find('#file-drop')[0];
|
||||
if (uploader.files.length == 0) {
|
||||
handleMissingFile();
|
||||
$scope.uploading = false;
|
||||
|
|
Reference in a new issue