what do you do when Netsuite doesnt let you save a...
# suitescript
g
what do you do when Netsuite doesnt let you save a script due to syntax errors but the JS is completely fine.
Copy code
Swal.fire({
        title: 'Wait ...',
        didOpen () {
          message = getRates(transactionDetails)
        },
        // Swal.close()

        // willOpen: Swal.showLoading(),
        // didClose: Swal.hideLoading(),
        allowOutsideClick: false,
        allowEscapeKey: false,
        allowEnterKey: false
      })
The didOpen is causing the issues. Syntax error: missing ; before statement