Jump to content

Action controls not being triggered in Spotfire 10.3


Zoerab Zakrijev

Recommended Posts

Dears,

 

We have an IronPython script, that we triggered by executing a click in JavaScript on action control link. This implementation worked fine in 7.11 version, unfortunately, we have noticed, that Spotfire 10.3 no longer supports it. By changing action control link to action control button, we have managed to make it work again. Again, it didn't last long, with the patch for 10.3, even triggering action control button is no longer an option.

JS:

$('#divID').click()

HTML:

 

 

 

 

Did anyone stumble upon this inconvenience and has an idea how to get this resolved I tried to trigger IronPython script using document property, but so far with no success.

 

Thank you very much in advance.

 

Kind regards,

Zoerab Zakrijev

Link to comment
Share on other sites

Dears,

I've resolved this inconvenience with a small adjustment to the jQuery script.

For this to function again, you need to have your action control to be a button and in the jQuery script update the id reference by adding 'input' after the ID.

For instance, e.g. if your script before was:

$('#divID').click()

then add 'input' after divID

$('#divID input').click()

For the click event to be applied to what is inside the division tag.

 

 

Kind regards,

Zoerab Zakrijev

Link to comment
Share on other sites

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...