Skip to content
Snippets Groups Projects
Commit f325499d authored by Justin Toupin's avatar Justin Toupin
Browse files

Set loading state for UI when layout select radio option is changed.

parent 3c3da063
Branches a11y-3164059
No related tags found
No related merge requests found
......@@ -911,6 +911,12 @@
)
.prependTo($(layoutParagraphsItem));
});
/**
* Set state to loading when a radio is clicked.
*/
$(".layout-select input[type=radio]", $widget).change(e => {
setLoading($(e.target).closest(".layout-select"));
});
/**
* Only show disabled items if there are items in the field.
* Runs every time DOM is updated.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment