GlideOverlay 'showClose= true' is not displaying 'X' icon to close the dialog box

lavanyanage
Tera Contributor

Hi All,

 

We have a Dialog window to view the responses from vendor. This window uses the below GlideOverlay to dispaly the dialog box,

 

var d = new GlideOverlay({
                    title: getMessage("Third party's responses"),
                    iframe: url,
                    width: '100%',
                    height: '100%',
                    autoDimensionOnLoad: false,
                    onAfterLoad: function() {
                        var iframe = d.getIFrameElement();
                        setTimeout(function() {
                            iframe.height = parseInt(iframe.height) + 1;
                        }, 0);
                    },
                    onAfterClose: function() {
                        location.reload();
                    },

                    showClose: false,
                    closeOnEscape: false
                });
                d.render();
				
				window.d = d;

 

When opening this response we need a 'X' close icon to close the window, currently there is no close option for users to close. The below is the screenshot,

 

Screenshot 2025-02-27 at 12.14.31 PM.png

 

Thanks,

Lavanya

0 REPLIES 0