Skip to content
Snippets Groups Projects
Verified Commit 45e23290 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix(api-bar): response is not available in catch

parent 620ab249
No related branches found
No related tags found
No related merge requests found
......@@ -497,7 +497,7 @@ function executeAPIButton(event, opts) {
}
if (isFunction(failedApiCall)) {
failedApiCall.call(self, button, error, response);
failedApiCall.call(self, button, error);
} else if (
button instanceof MessageStateButton ||
button instanceof StateButton
......
......@@ -99,7 +99,7 @@ class MessageStateButton extends Popper {
* @property {string|HTMLElement} message.content The message content
* @property {string} message.title The message title
* @property {string} message.icon The message icon
* @property {string} mode The mode of the button
* @property {string} mode The mode of the button, can be `manual` or `submit`
* @property {string} labels.button Button label
* @property {boolean} features.disableButton Disable the button
* @property {Object} aria Aria attributes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment