mirror of
https://github.com/opnsense/core.git
synced 2026-10-12 02:20:36 +00:00
ui: make settings-changed overridable
This commit is contained in:
@@ -837,6 +837,10 @@ $.fn.SimpleActionButton = function (params) {
|
||||
let hideCheckTimeout;
|
||||
|
||||
$(document).on("settings-changed", function () {
|
||||
$(document).trigger("settings-changed-internal");
|
||||
});
|
||||
|
||||
$(document).on("settings-changed-internal", function () {
|
||||
$('#change_message_base_form').show().parent('.alert').addClass('alert-info').removeClass('content-box');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user