Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
window.open not works in Safari
Hi,
I have a problem. I have a user event script for a custom event form. In this script, i ve created a button. When i click this button, must open a new window from url: https://system.netsuite.com/app/crm/calendar/task.nl?cf=7
It´s correct on firefox but not in Safari.
I found this: Safari concatenate "https://system.netsuite.com/app/crm/calendar" with my url.
Please help me.
function beforeLoad(type, form) { if (type == 'edit' | type == 'create' | type == 'view') { var url = "https://system.netsuite.com/app/crm/calendar/task.nl?cf=7"; form.addButton('custpage_task','Asignar Tarea',"window.open('"+url+"')"); } }
0