H5P Hub Client crashes on ajax errors

Description

Without any error message or the user's knowledge.

Reproduce:
1. Change if statement inside isHubOn() to always be true on h5peditor-ajax.class.php:356
2. Try editing content / starting hup client

Environment

None

Acceptance Criteria

The client should handle and show error messages to the user, ref. specifications.

Status

Assignee

Thomas Marstrander

Reporter

Frode Petterson

Funding

None

Code reviewer

Tom Arild Jakobsen

Released

None

Time tracking

3h

Fix versions

Sprint

None

Priority

High
Configure