| @@ -58,7 +58,7 @@ | |||
| <button type="button" class="autodoc_ajax_off btn btn-secondary disabled"> | |||
| <i class="fas fa-signal"></i> | |||
| </button> | |||
| <button type="button" class="autodoc_ajax_on d-none btn btn-primary disabled"> | |||
| <button type="button" class="autodoc_ajax_on d-none btn btn-warning disabled"> | |||
| <i class="fas fa-sync fa-spin"></i> | |||
| </button> | |||
| </div> | |||
| @@ -734,11 +734,13 @@ function document_update_name(docid, name) { | |||
| }); | |||
| } | |||
| // handle ajax busy icon | |||
| function loader_icon_on() { | |||
| conf.busy++; | |||
| } | |||
| function load_icon_off() { | |||
| function loader_icon_off() { | |||
| setTimeout(function() { conf.busy--; }, 1000); | |||
| } | |||