gr-editor-view: Always preserve edit mode on close

Bug: Issue 8449
Change-Id: I9ee1bd9032e61b5b225c82e422e5958c56730793
This commit is contained in:
David Ostrovsky
2018-02-24 19:49:21 +01:00
parent 51f1806f68
commit cf74532b16

View File

@@ -135,7 +135,8 @@
_viewEditInChangeView() {
const patch = this._successfulSave ? this.EDIT_NAME : this._patchNum;
Gerrit.Nav.navigateToChange(this._change, patch);
Gerrit.Nav.navigateToChange(this._change, patch, null,
patch !== this.EDIT_NAME);
},
_getFileData(changeNum, path, patchNum) {