jsbox-cview 1.5.31 → 1.5.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,11 +23,11 @@ class DialogSheetForm extends DialogSheet {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
done() {
|
|
26
|
-
this._done = true;
|
|
27
26
|
if (this.resolve && this._props.doneHandler) {
|
|
28
27
|
const values = this._props.doneHandler();
|
|
29
28
|
const success = this._checkHandler(values);
|
|
30
29
|
if (success) {
|
|
30
|
+
this._done = true;
|
|
31
31
|
this.resolve(values);
|
|
32
32
|
this.dismiss();
|
|
33
33
|
}
|
|
@@ -9,11 +9,11 @@ class DialogSheetForm extends dialog_sheet_1.DialogSheet {
|
|
|
9
9
|
this._checkHandler = checkHandler;
|
|
10
10
|
}
|
|
11
11
|
done() {
|
|
12
|
-
this._done = true;
|
|
13
12
|
if (this.resolve && this._props.doneHandler) {
|
|
14
13
|
const values = this._props.doneHandler();
|
|
15
14
|
const success = this._checkHandler(values);
|
|
16
15
|
if (success) {
|
|
16
|
+
this._done = true;
|
|
17
17
|
this.resolve(values);
|
|
18
18
|
this.dismiss();
|
|
19
19
|
}
|