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:
Cameron Dawson 2016-09-29 13:07:26 -07:00
Родитель 40d84ee95d
Коммит 759d2fa3ad
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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 ||