typo3-typescript-sources 13.4.23 → 13.4.24

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/.last-synced-tag CHANGED
@@ -1 +1 @@
1
- v13.4.23
1
+ v13.4.24
package/README.md CHANGED
@@ -16,7 +16,7 @@ npm install typo3-typescript-sources
16
16
 
17
17
  - **Original Repository:** [TYPO3/typo3](https://github.com/TYPO3/typo3)
18
18
  - **Source Path:** `Build/Sources/TypeScript/`
19
- - **Current TYPO3 Version:** `v13.4.23`
19
+ - **Current TYPO3 Version:** `v13.4.24`
20
20
 
21
21
  ## 📝 License
22
22
 
package/backend/login.ts CHANGED
@@ -168,7 +168,11 @@ class BackendLogin {
168
168
  */
169
169
  private async initializeEvents(): Promise<void> {
170
170
  await DocumentService.ready();
171
- new RegularEvent('submit', this.handleSubmit.bind(this)).bindTo(document.querySelector(this.options.loginForm));
171
+
172
+ const loginForm: HTMLFormElement = document.querySelector(this.options.loginForm);
173
+ if (loginForm !== null) {
174
+ new RegularEvent('submit', this.handleSubmit.bind(this)).bindTo(loginForm);
175
+ }
172
176
 
173
177
  (document.querySelectorAll('.t3js-clearable') as NodeListOf<HTMLInputElement>).forEach(
174
178
  (clearableField: HTMLInputElement) => clearableField.clearable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typo3-typescript-sources",
3
- "version": "13.4.23",
3
+ "version": "13.4.24",
4
4
  "description": "TYPO3 Core TypeScript Sources - Extracted from TYPO3/typo3 repository",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "typo3": {
30
30
  "sourceRepository": "https://github.com/TYPO3/typo3",
31
- "sourceTag": "v13.4.23",
31
+ "sourceTag": "v13.4.24",
32
32
  "sourcePath": "Build/Sources/TypeScript"
33
33
  }
34
34
  }