|
@@ -85,6 +85,7 @@ $(document).ready(function() {
|
|
// Trigger SOGo restart
|
|
// Trigger SOGo restart
|
|
$('#triggerRestartSogo').click(function(){
|
|
$('#triggerRestartSogo').click(function(){
|
|
$(this).prop("disabled",true);
|
|
$(this).prop("disabled",true);
|
|
|
|
+ $(this).html('<span class="glyphicon glyphicon-refresh glyphicon-spin"></span> ');
|
|
$('#statusTriggerRestartSogo').text('Stopping SOGo workers, this may take a while... ');
|
|
$('#statusTriggerRestartSogo').text('Stopping SOGo workers, this may take a while... ');
|
|
$.ajax({
|
|
$.ajax({
|
|
method: 'get',
|
|
method: 'get',
|
|
@@ -105,6 +106,7 @@ $(document).ready(function() {
|
|
},
|
|
},
|
|
success: function(data) {
|
|
success: function(data) {
|
|
$('#statusTriggerRestartSogo').append(data);
|
|
$('#statusTriggerRestartSogo').append(data);
|
|
|
|
+ $('#triggerRestartSogo').html('<span class="glyphicon glyphicon-ok"></span> ');
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|