Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1107)

Unified Diff: appengine/chromium_rietveld/new_static/model/issue.js

Issue 773083004: Rietveld: Display the remote tracked ref in both old and new UIs (Closed) Base URL: https://chromium.googlesource.com/infra/infra@master
Patch Set: remote_branch -> target_ref Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/chromium_rietveld/new_static/model/issue.js
diff --git a/appengine/chromium_rietveld/new_static/model/issue.js b/appengine/chromium_rietveld/new_static/model/issue.js
index c131d098c7d0c5513a0fc00a1c5e37c67318bf1d..b37ef679d8b269f39b18bf2363bac7f8e8d04f3a 100644
--- a/appengine/chromium_rietveld/new_static/model/issue.js
+++ b/appengine/chromium_rietveld/new_static/model/issue.js
@@ -17,6 +17,7 @@ function Issue(id)
this.owner = null; // User
this.private = false;
this.baseUrl = "";
+ this.targetRef = "";
this.subject = "";
this.created = ""; // Date
this.patchsets = []; // Array<PatchSet>
@@ -97,6 +98,7 @@ Issue.prototype.parseData = function(data)
if (this.id !== data.issue)
throw new Error("Incorrect issue loaded " + this.id + " != " + data.issue);
this.baseUrl = data.base_url || "";
+ this.targetRef = data.target_ref || "";
this.closed = data.closed || false;
this.commit = data.commit || false;
this.created = Date.utc.create(data.created);

Powered by Google App Engine
This is Rietveld 408576698