PETDevelopmentPhaseActions

class modules.js.Action.PETDevelopmentPhaseActions()
modules.js.Action.PETDevelopmentPhaseActions.PETDevelopmentPhaseActions

constructor

modules.js.Action.PETDevelopmentPhaseActions.nextPhase(evt)

button callback for user not wanting to take back research cards

Arguments
  • evt – evetn sent by the button

modules.js.Action.PETDevelopmentPhaseActions.takeBackCards(evt)

button callback for user wanting to take back research cards.

First, check is action is possible, then check if cards were selected, and get each card id to send them to the backend (separator ;)