Skip to content

Commit b96f0eb

Browse files
1 parent cea89e1 commit b96f0eb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/02/z2ui5.wapa.cc_-server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ sap.ui.define(["sap/ui/core/BusyIndicator", "sap/m/MessageBox"
3232
};
3333

3434
try{
35-
debugger;
3635
let oState = JSON.parse(JSON.stringify({ view: z2ui5.oView.mProperties.viewContent, model: z2ui5.oView.getModel().getData(), response: z2ui5.oResponse }));
3736
history.replaceState(oState, "", window.location.href );
3837
}catch(e){}

src/02/z2ui5.wapa.controller_-view1.controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ sap.ui.define(["sap/ui/core/mvc/Controller", "sap/ui/core/mvc/XMLView", "sap/ui/
6666
if (SET_APP_STATE_ACTIVE) {
6767
let urlObj = new URL(window.location.href);
6868
urlObj.searchParams.set("z2ui5-xapp-state", z2ui5.oResponse.ID);
69-
history.replaceState(oState, null, urlObj.pathname + urlObj.search);
69+
history.replaceState(oState, null, urlObj.pathname + urlObj.search + urlObj.hash);
7070
} else {
7171
let urlObj = new URL(window.location.href);
7272
urlObj.searchParams.delete("z2ui5-xapp-state");
73-
history.replaceState(oState, null, urlObj.pathname + urlObj.search);
73+
history.replaceState(oState, null, urlObj.pathname + urlObj.search + urlObj.hash);
7474
}
7575

7676

0 commit comments

Comments
 (0)