зеркало из https://github.com/mozilla/treeherder.git
Revert "Bug 1305507 - Save whatever's typed into the bug field before seeing if we can save the classification (#1875) r=camd"
This reverts commit 3092f0b3db
.
This commit is contained in:
Родитель
40d84ee95d
Коммит
759d2fa3ad
|
@ -126,11 +126,6 @@ treeherder.controller('PinboardCtrl', [
|
|||
};
|
||||
|
||||
$scope.canSaveClassifications = function() {
|
||||
if ($scope.enteringBugNumber) {
|
||||
// we should save this for the user, as they likely
|
||||
// just forgot to hit enter.
|
||||
$scope.saveEnteredBugNumber();
|
||||
}
|
||||
var thisClass = $scope.classification;
|
||||
return $scope.hasPinnedJobs() && (thPinboard.hasRelatedBugs() && $scope.user.loggedin ||
|
||||
thisClass.failure_classification_id !== 4 ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче