• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Valence Portal alert message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Valence Portal alert message

    Where would this alert message be so that I can change what it says (attached image)
    vv.png

  • #2
    Hi Mike,

    You can override the text in the instances Hook.js.

    Below is an example in the login method of the Hook.js.
    Code:
    login : function(user,sid){
        window.onbeforeunload = function(evt){
            if (!Portal.config.Runtime.getWithinLogout() && Portal.config.Runtime.getLoggedIn()){
                return 'HI MIKE';
            }
        };
    }

    Comment


    • #3
      Worked!! Thanks!

      Comment

      Working...
      X