Skip to content

Commit

Permalink
fix bug with timer not being stopped after we move away from dashboar…
Browse files Browse the repository at this point in the history
…d worldclock widgets #569
  • Loading branch information
oyeaussie committed Sep 1, 2024
1 parent 3746c78 commit f68b3d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ var BazContentLoader = function() {
}

function loadAjax(element, options, popped) {
BazHelpers.setTimeoutTimers.stopAll();//Stop all timers from previous component.
var urlToLoad, elementId;
var dataCollection = window.dataCollection;
// Delete old Content Objects
Expand Down
1 change: 1 addition & 0 deletions public/core/default/js/header/jsHeaderCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ var BazContentLoader = function() {
}

function loadAjax(element, options, popped) {
BazHelpers.setTimeoutTimers.stopAll();//Stop all timers from previous component.
var urlToLoad, elementId;
var dataCollection = window.dataCollection;
// Delete old Content Objects
Expand Down

0 comments on commit f68b3d4

Please sign in to comment.