Open reply dialog should be executed even if overlay failed
Reject promise if gr-overlay failed to resolve Bug: Issue 10774 Bug: Issue 12180 Change-Id: I0db37e64245aecc2672999b4de108f308bb0fc11
This commit is contained in:
@@ -1260,7 +1260,8 @@
|
||||
* @param {string=} opt_section
|
||||
*/
|
||||
_openReplyDialog(opt_section) {
|
||||
this.$.replyOverlay.open().then(() => {
|
||||
this.$.replyOverlay.open().finally(() => {
|
||||
// the following code should be executed no matter open succeed or not
|
||||
this._resetReplyOverlayFocusStops();
|
||||
this.$.replyDialog.open(opt_section);
|
||||
Polymer.dom.flush();
|
||||
|
||||
Reference in New Issue
Block a user