Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

add AJAX button #16

Merged
merged 2 commits into from
Apr 30, 2018
Merged

Conversation

TrilipuT
Copy link
Collaborator

Add AJAX button field. We have possibility to set own ajax_action. If not - field name will be used.

@kuliebiakin
Copy link
Member

I think that it would be good to have a possibility to set JS callback on success response. What do you think @TrilipuT ?
And also remove attribute "id" from spinner, since it will be duplicated in case when there are more than one Button are used on a page.

@kuliebiakin kuliebiakin merged commit 0eb41b5 into wp-digital:develop Apr 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants