Implement admin config screen for Queue

This commit is contained in:
Kijin Sung 2024-10-10 01:45:14 +09:00
parent d8370ff59b
commit a2a1f3bcc6
6 changed files with 278 additions and 2 deletions

View file

@ -0,0 +1,16 @@
(function($) {
$(function() {
$("#queue_driver").on("change", function() {
var selected_driver = $(this).val();
$(this).parents("section").find("div.x_control-group.hidden-by-default, p.x_help-block.hidden-by-default").each(function() {
if ($(this).hasClass("show-for-" + selected_driver)) {
$(this).show();
} else {
$(this).hide();
}
});
}).triggerHandler("change");
});
})(jQuery);