Make `failure` parameter of `Popover.ajaxApi()` optional
authorMatthias Schmidt <gravatronics@live.com>
Tue, 29 Jun 2021 08:00:44 +0000 (10:00 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 29 Jun 2021 08:00:55 +0000 (10:00 +0200)
commit273c010f169f807672ea93b7ce27f34d0d118276
tree8c5c69e1d545d6bb52dea49a9be03d3a46b06d4c
parentf59aa438d96c620e4d055422503f3cb99cb6f605
Make `failure` parameter of `Popover.ajaxApi()` optional

There is no reason to make the custom failure callback a required parameter here because in most cases, there is no need fur such a custom handler.
ts/WoltLabSuite/Core/Controller/Popover.ts