« Previous | Next » 

Revision 941b00d4

ID941b00d4600fccdc93f196d93b9924eeb4863b20

Added by Markos Gogoulos about 13 years ago

added error codes for reboot action.

if the action can't happen, the user gets informed. There are three cases:

  • user sends the reboot request but timeout happens. He gets informed to check his network connection
  • the request can't be made. The user gets informed that the reboot action couldn't happen. We can further parse the error message to discover why this
    has happened. Atm the only message is 404 (itemNot found on the api/handlers.py reboot action) so no need to do
  • if the request has succeeded, user gets a javascript alert that it has happened

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences