function prePopulatePage(pageId) {
  switch (pageId) {
    case "send_div": {
      if (
        window.sk_params.hasOwnProperty("to") &&
        typeof window.sk_params.to === "string"
      ) {
        $("#recipient").val(window.sk_params.to);
        $("#amt_send").focus();
      }

      if (window.sk_params.hasOwnProperty("amount")) {
        $("#amt_send").val(window.sk_params.amount);
        $("#memo_send").focus();
      }

      if (window.sk_params.hasOwnProperty("memo")) {
        $("#memo_send").val(window.sk_params.memo);
      }
      break;
    }
  }
}
// All functions and events regarding the visibility and navigation
All functions and events regarding the visibility and navigation
All functions and events regarding the visibility and navigation
function prePopulatePage(pageId) {
  switch (pageId) {
    case "send_div": {
      if (
        window.sk_params.hasOwnProperty("to") &&
        typeof window.sk_params.to === "string"
      ) {
        $("#recipient").val(window.sk_params.to);
        $("#amt_send").focus();
      }
      if (window.sk_params.hasOwnProperty("amount")) {
        $("#amt_send").val(window.sk_params.amount);
        $("#memo_send").focus();
      }
      if (window.sk_params.hasOwnProperty("memo")) {
        $("#memo_send").val(window.sk_params.memo);
      }
      break;
    }
  }
}
function prePopulatePage ( pageId ) { switch ( pageId ) { case "send_div" : { if ( window . sk_params . hasOwnProperty ( "to" ) && typeof window . sk_params . to === "string" ) { $ ( "#recipient" ) . val ( window . sk_params . to ) ; $ ( "#amt_send" ) . focus ( ) ; } if ( window . sk_params . hasOwnProperty ( "amount" ) ) { $ ( "#amt_send" ) . val ( window . sk_params . amount ) ; $ ( "#memo_send" ) . focus ( ) ; } if ( window . sk_params . hasOwnProperty ( "memo" ) ) { $ ( "#memo_send" ) . val ( window . sk_params . memo ) ; } break ; } } }
All functions and events regarding the visibility and navigation
All functions and events regarding the visibility and navigation