Maybe I'm making this too hard or maybe it's not p...
# suitescript
c
Maybe I'm making this too hard or maybe it's not possible. I have a
saveRecord
client script event, I want to collect "ok=true" or "cancel=false" using
ui/dialog
confirm and pass as return value for
saveRecord
. It looks like because
dialog.confirm
returns a promise<boolean> that it's not possible. Is that correct?
ive decided to have fun with the archive while we still have it
c
Thanks, @battk. Looks like window.confirm to the rescue.
I keep forgetting that we have history.
b
its very ugly, but a lot less expensive in hours than the alternative
c
ugly and functional wins in business.