You are awesome! Is that in their documentation or just a hack picked up/created along the way?
c
creece
02/20/2018, 4:33 PM
you just override the default to be nothing since javascript only looks at the last implementation of a function.
creece
02/20/2018, 4:34 PM
its not a "hack" but its just taking advantage of how the language works
s
screnshaw
02/20/2018, 4:35 PM
True. I just meant that it's not a standard netsuite call.
s
samyt
02/20/2018, 4:35 PM
By doing so wudn't it affect other script onchange?
m
mattdahse
02/20/2018, 4:49 PM
Other client onChange events are triggered when fields themselves change. This function is only called as the page is unloading. As soon as it reloads the function will be redefined.
i
igorp
02/20/2018, 5:01 PM
It's possible also to change the window state to prevent this message from being shown.