Skip to content

Commit

Permalink
Bug 1360621 - Fix case of check for adding new jobs (#2434) r=emorley
Browse files Browse the repository at this point in the history
  • Loading branch information
KWierso committed Apr 28, 2017
1 parent 8cc9297 commit 89a95e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/js/controllers/jobs.js
Expand Up @@ -148,7 +148,7 @@ treeherderApp.controller('ResultSetCtrl', [
};

$scope.showRunnableJobs = function() {
if ($scope.user.loggedIn) {
if ($scope.user.loggedin) {
$rootScope.$emit(thEvents.showRunnableJobs, $scope.resultset);
}
};
Expand Down
4 changes: 2 additions & 2 deletions ui/partials/main/thActionButton.html
Expand Up @@ -10,8 +10,8 @@
</button>
<!-- Menu contents -->
<ul class="dropdown-menu pull-right">
<li title="{{user.loggedIn ? '' : 'Must be logged in'}}"
class="{{user.loggedIn ? '' : 'disabled'}}">
<li title="{{user.loggedin ? '' : 'Must be logged in'}}"
class="{{user.loggedin ? '' : 'disabled'}}">
<a target="_blank" data-ignore-job-clear-on-click
title="Add new jobs to this push"
href=""
Expand Down

0 comments on commit 89a95e9

Please sign in to comment.