Update changelog.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-04 03:18:56 -04:00
parent d2ee960d42
commit 7e68853e47
2 changed files with 5 additions and 1 deletions

View File

@@ -124,6 +124,9 @@
- Remove the duplicated setting pdftotext_path from the OCR path.
This is now handled by the document parsing app.
- Implement partial refresh of the main menu.
- Remove usage of pace.js. Would cause XMLRequest to fallback to
synchronous mode.
- Add custom AJAX spinner.
3.0.3 (2018-08-17)
==================

View File

@@ -114,13 +114,14 @@ class MayanApp {
}
doRefreshMainMenu (options) {
var self = this;
$.ajax({
complete: function() {
setTimeout(app.doRefreshMainMenu, options.interval, options);
},
success: function(data) {
var $elements = $('.dropdown.open');
if (($elements.length === 0) && (this.ajaxExecuting === false)) {
if ($elements.length === 0) {
// Don't refresh the HTML if there are open dropdowns
$('#main-menu').html(data);
}