Skip to content

Commit

Permalink
Merge pull request #31447 from civicrm/5.79
Browse files Browse the repository at this point in the history
5.79
  • Loading branch information
totten authored Nov 7, 2024
2 parents 86804d5 + 5d0e09d commit 9695738
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,11 @@
// If there are no results on initial load, open an "autoOpen" toolbar link
ctrl.toolbar.forEach((link) => {
if (link.autoOpen && requestId === 1 && !ctrl.results.length) {
CRM.loadForm(link.url);
CRM.loadForm(link.url)
.on('crmFormSuccess', (e, data) => {
ctrl.rowCount = null;
ctrl.getResultsPronto();
});
}
});
}
Expand Down

0 comments on commit 9695738

Please sign in to comment.