Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Remove additional 'Close' button from g_modal in service operations workspace

Shree123
Tera Contributor

Hello experts,

I am rendering a UI page in workspace using 

g_modal.showFrame.
I am getting a 'Close' button in the pop-up by default, which I want to remove/hide.
Any lead on how to achieve that?
Shree123_0-1714142660918.png

 

This is a simple line of code:

function onClick() {
    var incidents = g_list.getChecked().toString();

    function openPopup() {
        var url = "XXX.link_to_major_incident.do?sysparm_incident_ids=" + incidents + "&sysparm_stack=no";
        g_modal.showFrame({
            title: "Choose a Major Incident",
            url: url,
            size: 'sm',
            height: 100,
            autoCloseOn: 'URL_CHANGED',
            callback: function(ret, data) {
                g_list.refresh();
            }
        });
    }
    openPopup();
}
7 REPLIES 7

Shree123
Tera Contributor

Hi @Mark Roethof  @Ashley Snyder 
Need your expertise.

Community Alums
Not applicable

It may be fixed in Washington.  I have the issue in an instance in Vancouver and the closed button is being displayed.  The same modal window opened in a Washington PDI doesn't show the closed button.

@Community Alums  looks like it, As I myself don't see this in PDI. My PDI as well is on Washington.