@etsoo/react 1.5.51 → 1.5.52
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.
- package/lib/mu/NotifierMU.js +3 -1
- package/package.json +1 -2
- package/src/mu/NotifierMU.tsx +5 -3
package/lib/mu/NotifierMU.js
CHANGED
|
@@ -202,7 +202,9 @@ export class NotificationMU extends NotificationReact {
|
|
|
202
202
|
return (React.createElement(Dialog, { key: this.id, open: this.open, PaperComponent: DraggablePaperComponent, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen },
|
|
203
203
|
React.createElement("form", { onSubmit: (event) => {
|
|
204
204
|
var _a;
|
|
205
|
-
|
|
205
|
+
event.preventDefault();
|
|
206
|
+
(_a = event.currentTarget.elements.namedItem('okButton')) === null || _a === void 0 ? void 0 : _a.click();
|
|
207
|
+
return false;
|
|
206
208
|
} },
|
|
207
209
|
React.createElement(IconDialogTitle, { className: "draggable-dialog-title" },
|
|
208
210
|
React.createElement(Info, { color: "primary" }),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/react",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.52",
|
|
4
4
|
"description": "TypeScript ReactJs framework",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@emotion/css": "^11.9.0",
|
|
50
50
|
"@emotion/react": "^11.9.3",
|
|
51
|
-
"@emotion/style": "^0.8.0",
|
|
52
51
|
"@emotion/styled": "^11.9.3",
|
|
53
52
|
"@etsoo/appscript": "^1.2.63",
|
|
54
53
|
"@etsoo/notificationbase": "^1.1.4",
|
package/src/mu/NotifierMU.tsx
CHANGED
|
@@ -359,13 +359,15 @@ export class NotificationMU extends NotificationReact {
|
|
|
359
359
|
fullScreen={fullScreen}
|
|
360
360
|
>
|
|
361
361
|
<form
|
|
362
|
-
onSubmit={(event) =>
|
|
362
|
+
onSubmit={(event) => {
|
|
363
|
+
event.preventDefault();
|
|
363
364
|
(
|
|
364
365
|
event.currentTarget.elements.namedItem(
|
|
365
366
|
'okButton'
|
|
366
367
|
) as HTMLButtonElement
|
|
367
|
-
)?.click()
|
|
368
|
-
|
|
368
|
+
)?.click();
|
|
369
|
+
return false;
|
|
370
|
+
}}
|
|
369
371
|
>
|
|
370
372
|
<IconDialogTitle className="draggable-dialog-title">
|
|
371
373
|
<Info color="primary" />
|