Jump to content

Why opening a modal window on Spotfire Client pops up two windows instead of one


Manoj Chaurasia

Recommended Posts

Why opening a modal window on Spotfire Client pops up two windows instead of one

The screenshot is attached. The first is a actual modal window on top of Spotfire UI, as marked in RED, and then a browser window is open to fetch the URL as marked in YELLOW. I expected the URL will be open on the modal window instead of leaving it blank and open another browser window.

The related code is as below, and it works as expected on Spotfire web player. Any insights Thanks!

function openURL(){

var page = "localhost:9050/login";

var $dialog = $(''

.html('')

.dialog({ autoOpen: false, modal: true, height: 650, width: 1010, title: "My modal window" });

$dialog.dialog('open');};

Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...