|
@@ -76,7 +76,7 @@ export default class RequirePasswordDialog {
|
76
|
76
|
let submitFunction = this._submitFunction.bind(this);
|
77
|
77
|
let closeFunction = this._closeFunction.bind(this);
|
78
|
78
|
|
79
|
|
- APP.UI.messageHandler.openTwoButtonDialog({
|
|
79
|
+ this._dialog = APP.UI.messageHandler.openTwoButtonDialog({
|
80
|
80
|
titleKey,
|
81
|
81
|
msgString,
|
82
|
82
|
leftButtonKey: "dialog.Ok",
|
|
@@ -153,7 +153,9 @@ export default class RequirePasswordDialog {
|
153
|
153
|
* Close the dialog
|
154
|
154
|
*/
|
155
|
155
|
close() {
|
156
|
|
- APP.UI.messageHandler.closeDialog();
|
|
156
|
+ if (this._dialog) {
|
|
157
|
+ this._dialog.close();
|
|
158
|
+ }
|
157
|
159
|
this.isOpened = false;
|
158
|
160
|
}
|
159
|
161
|
}
|