client/webserver/site/src/js/forms.js
/*
   * loadDefaults attempts to load the ExchangeWallet configuration from the
   * default wallet config path on the server and will auto-fill the fields on
   * the subform if settings are found.
   */
loadDefaults attempts to load the ExchangeWallet configuration from the
default wallet config path on the server and will auto-fill the fields on
the subform if settings are found.
loadDefaults attempts to load the ExchangeWallet configuration from the default wallet config path on the server and will auto - fill the fields on the subform if settings are found .
async loadDefaults () {
    app.loading(this.form)
    var res = await postJSON('/api/defaultwalletcfg', { assetID: this.currentAsset.id })
    app.loaded()
    if (!app.checkResponse(res)) {
      this.setError(res.msg)
      return
    }
    this.subform.setLoadedConfig(res.config)
  }
async loadDefaults ( ) { app . loading ( this . form ) var res = await postJSON ( '/api/defaultwalletcfg' , { assetID : this . currentAsset . id } ) app . loaded ( ) if ( ! app . checkResponse ( res ) ) { this . setError ( res . msg ) return } this . subform . setLoadedConfig ( res . config ) }
loadDefaults attempts to load the ExchangeWallet configuration from the
 default wallet config path on the server and will auto-fill the fields on
 the subform if settings are found.
loadDefaults attempts to load the ExchangeWallet configuration from the default wallet config path on the server and will auto - fill the fields on the subform if settings are found .