Changes between Initial Version and Version 1 of Ticket #3389


Ignore:
Timestamp:
Jun 23, 2017, 1:35:32 AM (7 years ago)
Author:
elexis
Comment:

The new 'Connect' button would just have to do few calls that we find in lobbyStartConnect() of prelobby.js and reuse some code of init of lobby.js (could be moved to a new helper function) and call it from the "connected" case in lobby.js.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3389

    • Property Keywords simple added
  • Ticket #3389 – Description

    initial v1  
    22
    33We could have a "Reconnect" button with the same size and position as the "Host" button that is only visible while we are disconnected. If clicked, it should attempt to rejoin without the need to provide the credentials again.
    4 
    5 
    6 ----
    7 
    8 Until this is implemented, we should remove the following code as it can never occur (The "connected" message arrives at `prelobby.js` and only after that `lobby.js` is loaded):
    9 {{{
    10 function onTick()
    11         switch (message.type)
    12         case "muc":
    13                 switch(message.level)
    14                 case "system":
    15                         switch (message.level)
    16                         case "standard":
    17                                 ...
    18                                 else if (message.text == "connected")
    19                                 {
    20                                         Engine.GetGUIObjectByName("hostButton").enabled = true;
    21                                 }
    22 }}}