Skip to main content

I have a mass action on a table which runs a snippet - this opens a new tab for each row in the table: skuid.$.each(arguments[0].list.getSelectedItems(),function(i,item){ window.open(‘/servlet/servlet.Integration?lid=00b24000001Mmpi&eid=’ + item.row.Id + ‘&ic=1’ + “_blank”); }); This works fine, however each new tab opens to a page in another app, which has its own dialog box and requires the user to click OK before it will allow the user to do anything else. 089b43b890d47cea5b38e0426b0895ba460e9a29.png Is it possible to pass a function along with the window.open function, to automatically detect this dialog box in each new tab, and click the OK button automatically? I’ve tried running a setTimeout function in the original page, however the dialog box(es) seem to prevent any other javascript from running in the original tab.

Be the first to reply!

Reply