Show message when reloading all the 3rd party modules

Fix #516
pull/541/head
Raphaël Vinot 2022-10-26 14:35:13 +02:00
parent e3075060cd
commit a4358a9a6a
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@
modal.find('.modal-body').load(button.data("remote"));
});
$('.modulesForceRefresh').on('click',function(){
$('#modulesModal .modal-body').text("Reloading modules, please wait...")
$('#modulesModal .modal-body').load("{{ url_for('trigger_modules', tree_uuid=tree_uuid, force=True) }}", function(){
$('#modulesModal').modal({show:true});
});