PolyGerrit: Fix implemenetation of replace js .replace with 'open'
Problem was introduced in I03938f02eb909631c99bd56a1e16f9e8891734d4 Change-Id: Ica060fa587bf33840e9fce3aa8c3197939b6ea32
This commit is contained in:
@@ -233,13 +233,13 @@
|
||||
_computeBranchURL: function(project, branch) {
|
||||
var status;
|
||||
if (this.change.status == this.ChangeStatus.NEW) {
|
||||
status = this.change.status.toLowerCase().replace('new', 'open');
|
||||
status = 'open';
|
||||
} else {
|
||||
status = this.change.status.toLowerCase();
|
||||
}
|
||||
return '/q/project:' + this.encodeURL(project, false) +
|
||||
' branch:' + this.encodeURL(branch, false) +
|
||||
' status:' + this.encodeURL(status, false);
|
||||
' branch:' + this.encodeURL(branch, false) +
|
||||
' status:' + this.encodeURL(status, false);
|
||||
},
|
||||
|
||||
_computeTopicHref: function(topic) {
|
||||
|
||||
Reference in New Issue
Block a user