Skip to content

Commit

Permalink
- naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent, David | ISDOD committed Jun 28, 2016
1 parent 700ffa8 commit 21389e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extension/chrome/src/js/stash_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,8 @@
var commitList = data.values.map(function(pr) {
return { commit: pr.fromRef.latestCommit, prId: pr.id }
});
addPRBuildStatus(commitList).done(function(buildDetails){

getPRBuildStatus(commitList).done(function(buildDetails){
// add build column
if(self.$table.find('th.build-status-pr-list-col').length == 0) {
var $buildCol = jQuery('<th>', {
Expand Down Expand Up @@ -1962,7 +1963,7 @@
$approversInput.data('select2').blur();
}

function addPRBuildStatus(commitList) {
function getPRBuildStatus(commitList) {
var commitIds = commitList.map(function(pr) { return pr.commit });
return jQuery.ajax('/rest/build-status/latest/commits/stats', {
method: 'POST',
Expand Down

0 comments on commit 21389e0

Please sign in to comment.