Fix small UI bugs around uploading dockerfiles
Fixes #606 - Raises an error when a non-200 code is returned - Resets the dialog when reopened - Has a nicer error message for 413 errors
This commit is contained in:
parent
2f42a4d94d
commit
328aacbc60
2 changed files with 21 additions and 5 deletions
|
@ -52,6 +52,7 @@ angular.module('quay').directive('dockerfileBuildDialog', function () {
|
|||
if (sn && $scope.repository) {
|
||||
$scope.viewTriggers = false;
|
||||
$scope.startTrigger = null;
|
||||
$scope.errorMessage = null;
|
||||
|
||||
$element.find('.dockerfilebuildModal').modal({});
|
||||
|
||||
|
|
Reference in a new issue