This repository was archived by the owner on Apr 1, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,14 @@ const render = (content) => {
2424 if ( openWindow ) {
2525 setTimeout ( ( ) => buildfire . navigation . goBack ( ) , 750 ) ;
2626
27- if ( content . view === viewOptions . POPUP )
28- buildfire . navigation . openWindow ( content . url , "_blank" ) ;
27+ if ( content . view === viewOptions . POPUP ) {
28+ if ( flags . isWeb ) {
29+ renderiFrame ( { url : content . url , isIOS : flags . isIOS } ) ;
30+ return ;
31+ } else {
32+ buildfire . navigation . openWindow ( content . url , "_blank" ) ;
33+ }
34+ }
2935 else
3036 buildfire . navigation . openWindow ( content . url , "_system" ) ;
3137
@@ -36,9 +42,15 @@ const render = (content) => {
3642 return ;
3743 }
3844 if ( displaySuccessMessage ) {
39- window . document . getElementById ( 'successMessage' ) . style . display = 'block' ;
40- window . document . getElementById ( 'targetUrl' ) . href = content . url ;
41- return ;
45+ if ( flags . isWeb ) {
46+ renderiFrame ( { url : content . url , isIOS : flags . isIOS } ) ;
47+ return ;
48+ } else {
49+ window . document . getElementById ( 'successMessage' ) . style . display = 'block' ;
50+ window . document . getElementById ( 'targetUrl' ) . href = content . url ;
51+ return ;
52+ }
53+
4254 }
4355 } ;
4456
You can’t perform that action at this time.
0 commit comments