mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#12288 fixed spinner in button link
This commit is contained in:
parent
638ba75894
commit
f3fe59bfda
@ -593,9 +593,18 @@ $(document).ready(function(){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#button-update').on('click', function(){
|
$('#button-update').on('click', function(){
|
||||||
$('.info_box_information').remove();
|
if ($('.info_box_information').length > 0) {
|
||||||
$('#content-netflow').remove();
|
$('.info_box_information').remove();
|
||||||
$('#spinner').removeClass("invisible");
|
}
|
||||||
|
if ($('#content-netflow').length > 0) {
|
||||||
|
$('#content-netflow').remove();
|
||||||
|
}
|
||||||
|
if ($('#spinner').length > 0) {
|
||||||
|
$('#spinner').removeClass("invisible");
|
||||||
|
}
|
||||||
|
if ($('.link-with-params').length > 0) {
|
||||||
|
$('.link-with-params').remove();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.link-with-params').on('submit', function(e){
|
$('.link-with-params').on('submit', function(e){
|
||||||
@ -608,7 +617,9 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
if ($('#spinner').length > 0) {
|
if ($('#spinner').length > 0) {
|
||||||
$('#spinner').removeClass("invisible");
|
$('#spinner').removeClass("invisible");
|
||||||
|
}
|
||||||
|
if ($('.link-with-params').length > 0) {
|
||||||
|
$('.link-with-params').remove();
|
||||||
}
|
}
|
||||||
}, 100); // Prevent fields from being deleted before being sent.
|
}, 100); // Prevent fields from being deleted before being sent.
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user