fix load spinner on close

This commit is contained in:
alejandro-campos 2020-06-23 14:23:14 +02:00
parent 6157030cff
commit 584b19cc85
1 changed files with 4 additions and 0 deletions

View File

@ -248,6 +248,10 @@ function snmp_show_result_message(data) {
modal: true, modal: true,
height: 300, height: 300,
width: 500, width: 500,
close: function(e, ui) {
$("input[name=create_modules_network_component]").removeClass("sub spinn");
$("input[name=create_modules_network_component]").addClass("sub add");
},
overlay: { overlay: {
opacity: 0.5, opacity: 0.5,
background: "black" background: "black"