Skip to content

Commit

Permalink
Merge pull request #5845 from GerardSmit/issue-5818
Browse files Browse the repository at this point in the history
Fixed JavaScript error
  • Loading branch information
valadas authored Oct 13, 2023
2 parents df634b6 + b99fe76 commit 39c25b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions DNN Platform/JavaScript Libraries/DnnPlugins/dnn.jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4314,10 +4314,14 @@
});
};

function registerEvents() {
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(saveRgDataDivScrollTop);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(dnnInitCustomisedCtrls);
}

window.__rgDataDivScrollTopPersistArray = [];
$(document).ajaxComplete(dnnInitCustomisedCtrls);
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(saveRgDataDivScrollTop);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(dnnInitCustomisedCtrls);
$(dnnInitCustomisedCtrls);
$(registerEvents);
handlerSendVerificationMailLink();
})(jQuery);

0 comments on commit 39c25b7

Please sign in to comment.