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. 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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.