[create-pull-request] automated change (#1795)

Co-authored-by: oblomov-dev <oblomov-dev@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-03-10 19:25:29 -03:00 committed by GitHub
parent 4c2c28259e
commit e0f6fa16a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1059,7 +1059,7 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
`}` && |\n| && `}` && |\n| &&
`);` && |\n| && `);` && |\n| &&
`` && |\n| && `` && |\n| &&
`sap.ui.define("z2ui5/Dirty", ["sap/ui/core/Control", "sap/ushell/Container"], (Control, Container) => {` && |\n| && `sap.ui.define("z2ui5/Dirty", ["sap/ui/core/Control"], (Control) => {` && |\n| &&
` "use strict";` && |\n| && ` "use strict";` && |\n| &&
` return Control.extend("z2ui5.Dirty", {` && |\n| && ` return Control.extend("z2ui5.Dirty", {` && |\n| &&
` metadata: {` && |\n| && ` metadata: {` && |\n| &&
@ -1070,15 +1070,22 @@ CLASS z2ui5_cl_app_app_js IMPLEMENTATION.
` }` && |\n| && ` }` && |\n| &&
` },` && |\n| && ` },` && |\n| &&
` setIsDirty(val) {` && |\n| && ` setIsDirty(val) {` && |\n| &&
` if (Container) {` && |\n| && `` && |\n| &&
` Container.setDirtyFlag(val);` && |\n| && ` sap.ui.require([ "sap/ushell/Container"` && |\n| &&
` } else {` && |\n| && ` ], async (Container) => {` && |\n| &&
` window.onbeforeunload = function (e) {` && |\n| && `` && |\n| &&
` if (Container) {` && |\n| &&
` Container.setDirtyFlag(val);` && |\n| &&
` } else {` && |\n| &&
` window.onbeforeunload = function (e) {` && |\n| &&
` if (val) {` && |\n| && ` if (val) {` && |\n| &&
` e.preventDefault();` && |\n| && ` e.preventDefault();` && |\n| &&
` }` && |\n| && ` }` && |\n| &&
` }` && |\n| && ` }` && |\n| &&
` }` && |\n| && ` }` && |\n| &&
`` && |\n| &&
` });` && |\n| &&
`` && |\n| &&
` },` && |\n| && ` },` && |\n| &&
` renderer(oRm, oControl) { }` && |\n| && ` renderer(oRm, oControl) { }` && |\n| &&
` });` && |\n| && ` });` && |\n| &&