minor fix in snmp browser
This commit is contained in:
parent
b595548eee
commit
8abd447af1
|
@ -625,6 +625,20 @@ function snmp_browser_create_modules(module_target, return_post = true) {
|
||||||
);
|
);
|
||||||
$("input[name=create_modules_" + module_target + "]").addClass("sub spinn");
|
$("input[name=create_modules_" + module_target + "]").addClass("sub spinn");
|
||||||
|
|
||||||
|
$("#dialog_error").on("dialogclose", function(event) {
|
||||||
|
$("input[name=create_modules_" + module_target + "]").removeClass(
|
||||||
|
"sub spinn"
|
||||||
|
);
|
||||||
|
$("input[name=create_modules_" + module_target + "]").addClass("sub add");
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#dialog_success").on("dialogclose", function(event) {
|
||||||
|
$("input[name=create_modules_" + module_target + "]").removeClass(
|
||||||
|
"sub spinn"
|
||||||
|
);
|
||||||
|
$("input[name=create_modules_" + module_target + "]").addClass("sub add");
|
||||||
|
});
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: "post",
|
method: "post",
|
||||||
url: "ajax.php",
|
url: "ajax.php",
|
||||||
|
|
Loading…
Reference in New Issue