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); |