Merge branch 'stable-2.12'
* stable-2.12: AccountManager: Update display name only if it is not null. ChangeHookValidator: Fix old revision retrieval for root commit InlineEdit: Enable inline comments retrieval in change screen BanCommitCommand: Do not use commons.collections Change-Id: I777d6fcfbd1ee647322268ebc8c404a0723a3dfe
This commit is contained in:
		| @@ -881,7 +881,12 @@ public class ChangeScreen extends Screen { | ||||
|     CallbackGroup group = new CallbackGroup(); | ||||
|     Timestamp lastReply = myLastReply(info); | ||||
|     if (rev.isEdit()) { | ||||
|       loadFileList(b, rev, lastReply, group, null, null); | ||||
|       // Comments are filtered for the current revision. Use parent | ||||
|       // patch set for edits, as edits themself can never have comments. | ||||
|       RevisionInfo p = RevisionInfo.findEditParentRevision( | ||||
|           info.revisions().values()); | ||||
|       List<NativeMap<JsArray<CommentInfo>>> comments = loadComments(p, group); | ||||
|       loadFileList(b, rev, lastReply, group, comments, null); | ||||
|     } else { | ||||
|       loadDiff(b, rev, lastReply, group); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Pursehouse
					David Pursehouse