Add uploader to change screen if different from change owner
Unlike owner, this widget is not a link, because we have no corresponding 'uploader:' search operator, and going to a search for 'owner:<uploader>' may be confusing because the change you just came from is not in the result list. Change-Id: I0752b045d99945d7be0c3f0536d958fa7c5bbd98
This commit is contained in:
@@ -296,6 +296,7 @@ public class ChangeInfo extends JavaScriptObject {
|
||||
public final native int _number() /*-{ return this._number; }-*/;
|
||||
public final native String name() /*-{ return this.name; }-*/;
|
||||
public final native boolean draft() /*-{ return this.draft || false; }-*/;
|
||||
public final native AccountInfo uploader() /*-{ return this.uploader; }-*/;
|
||||
public final native boolean isEdit() /*-{ return this._number == 0; }-*/;
|
||||
public final native CommitInfo commit() /*-{ return this.commit; }-*/;
|
||||
public final native void setCommit(CommitInfo c) /*-{ this.commit = c; }-*/;
|
||||
|
||||
Reference in New Issue
Block a user