Skip to content

Commit

Permalink
Merge pull request #39 from 2lenet/fixAjax
Browse files Browse the repository at this point in the history
fix: unlock dashboard when all widgets (including non ajax) loaded
  • Loading branch information
SpaghettiBolognaise authored Feb 17, 2023
2 parents 5134d70 + 19b5f3c commit afff0b0
Show file tree
Hide file tree
Showing 10 changed files with 36,442 additions and 1,084 deletions.
4 changes: 2 additions & 2 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ onLoad(() => {
}
total++;

if (loading && total === grid.getGridItems().length) {
if (total === grid.getGridItems().length) {
toggleSpin();
grid.enable();
}
Expand All @@ -101,7 +101,7 @@ onLoad(() => {
enableScripts(widget);
total++;

if (loading && total === grid.getGridItems().length) {
if (total === grid.getGridItems().length) {
toggleSpin();
grid.enable();
}
Expand Down
1 change: 0 additions & 1 deletion src/Resources/public/dashboard/820.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/Resources/public/dashboard/856.js

This file was deleted.

1 change: 0 additions & 1 deletion src/Resources/public/dashboard/856.js.LICENSE.txt

This file was deleted.

13 changes: 12 additions & 1 deletion src/Resources/public/dashboard/app.css

Large diffs are not rendered by default.

21,558 changes: 21,556 additions & 2 deletions src/Resources/public/dashboard/app.js

Large diffs are not rendered by default.

Loading

0 comments on commit afff0b0

Please sign in to comment.