Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit e65e3a8

Browse files
authored
Merge pull request #38 from AlexKvazos/master
Fix goBack
2 parents 95fa8ad + c25f347 commit e65e3a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/widget/widget.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ const render = (content) => {
2222

2323
const handleWindow = (openWindow, displayIniFrame, displaySuccessMessage) => {
2424
if(openWindow){
25+
setTimeout(() => buildfire.navigation.goBack(), 750);
26+
2527
if(content.view === viewOptions.POPUP)
2628
buildfire.navigation.openWindow(content.url, "_blank");
2729
else
2830
buildfire.navigation.openWindow(content.url, "_system");
2931

30-
setTimeout(() => buildfire.navigation.goBack(), 750);
3132
return;
3233
}
3334
if(displayIniFrame){

0 commit comments

Comments
 (0)