Update changelog.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-04 03:25:33 -04:00
parent d2ee960d42
commit 7e68853e47
2 changed files with 5 additions and 1 deletions
@@ -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);
}