Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAK-50787 Portal footer on Commons page: build info no pop-up #13140

Merged
merged 2 commits into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions commons/tool/src/webapp/js/commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,7 @@ commons.switchState = function (state, arg) {
});
if(commons.currentUserPermissions.postDeleteAny){ //if the user can delete any post, we will give them access to Hi-Priority posting too.
document.getElementById('commons-editor-priority-container').removeAttribute('style');
document.querySelectorAll("[data-bs-toggle='popover']").forEach(t => {
(new bootstrap.Popover(t));
});
bootstrap.Popover.getOrCreateInstance(document.body); // Initializes all popovers
}
editorPostButton.click(function (e) {

Expand Down
4 changes: 1 addition & 3 deletions commons/tool/src/webapp/js/commons_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,7 @@ commons.utils = {
var numberOfLikes = $('.commons-likes-count');
numberOfLikes.each(function(){commons.utils.addLikeCount(this)});
commons.utils.getUserLikes();
document.querySelectorAll("[data-bs-toggle='popover']").forEach(t => {
(new bootstrap.Popover(t));
});
bootstrap.Popover.getOrCreateInstance(document.body); // Initializes all popovers
var textarea = $('#commons-comment-textarea-' + post.id);
textarea.each(function () { autosize(this); });
var creator = $('#commons-comment-creator-' + post.id);
Expand Down
Loading