Okay, looks like I solved my own problem again. I suppose I'll post the 
solution.

In mainframe.templ under the function OpenUrlFromForm() I modified the line:

else if(cmd.targetType == 2)
    {
        targetName = "newFrame" + (newWindowIndex ++);
        window.open("", targetName, 
"toolbar=no,status=no,width=500,height=500,resizable,scrollbars");
    }

to read:

else if(cmd.targetType == 2)
    {
        targetName = "newFrame" + (newWindowIndex ++);
        window.open("", targetName, 
"toolbar=no,menubar=yes,status=no,width=500,height=500,resizable,scrollbars");
    }

The only new inclusion is the menubar=yes, in the window.open() call. This 
would apply to every window launched this way, though, I can't say I figured 
out how to make individual custom commands launch with different window 
properties.

From: Berg, James
Sent: Tuesday, September 03, 2013 9:16 AM
To: [email protected]
Subject: Opening a window using an invoke url custom command with the toolbar

MGOS 2.4
Maestro 5.0.0
Windows Server 2003 r2
Hello, all

When I create an invoke URL custom command the window it opens doesn't have the 
toolbar. I want the users to be able to access the print options normally 
available. Is there a way to open these windows with the toolbar?

Thanks for all the help
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to