|
@@ -100,7 +100,16 @@ export default class RequirePasswordDialog {
|
100
|
100
|
*/
|
101
|
101
|
_submitFunction(e, v, m, f) {
|
102
|
102
|
e.preventDefault();
|
|
103
|
+ this._processInput(v, f);
|
|
104
|
+ }
|
103
|
105
|
|
|
106
|
+ /**
|
|
107
|
+ * Processing input in dialog
|
|
108
|
+ * @param v - value
|
|
109
|
+ * @param f - form
|
|
110
|
+ * @private
|
|
111
|
+ */
|
|
112
|
+ _processInput(v, f) {
|
104
|
113
|
if (v && f.lockKey) {
|
105
|
114
|
this.resolve(UIUtil.escapeHtml(f.lockKey));
|
106
|
115
|
} else {
|
|
@@ -112,7 +121,8 @@ export default class RequirePasswordDialog {
|
112
|
121
|
* Close dialog callback
|
113
|
122
|
* @private
|
114
|
123
|
*/
|
115
|
|
- _closeFunction() {
|
|
124
|
+ _closeFunction(e, v, m, f) {
|
|
125
|
+ this._processInput(v, f);
|
116
|
126
|
this._hideError();
|
117
|
127
|
this.close();
|
118
|
128
|
}
|