Skip to content

Commit 5203de0

Browse files
Upload V4.7
1 parent 9b7ed7e commit 5203de0

36 files changed

Lines changed: 1253 additions & 864 deletions
37.6 KB
Loading

admin/assets/js/commenting-block-admin-general.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jQuery(function ($) {
1515
});
1616
});
1717

18+
1819
//set cookies
1920
function setCookieGeneral(name, value, minutes) {
2021
var expires = "";
@@ -25,4 +26,3 @@ function setCookieGeneral(name, value, minutes) {
2526
}
2627
document.cookie = name + "=" + (value || "") + expires + "; path=/";
2728
}
28-
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//Upgrage pro modal popup js
2+
document.addEventListener('DOMContentLoaded', function () {
3+
const premiumStars = document.querySelectorAll('.cf_premium_star');
4+
5+
if (premiumStars) {
6+
const modal = document.getElementById('cf-plugin_upgrademodal');
7+
const modalCloseBtn = document.querySelector('.modal-close-btn');
8+
premiumStars.forEach(function(premiumStar) {
9+
premiumStar.addEventListener('click', function (event) {
10+
event.preventDefault(); // Prevent the default anchor behavior
11+
modal.classList.add('cf-active-modal');
12+
document.querySelector('body').style.overflowY = "hidden";
13+
});
14+
});
15+
16+
modalCloseBtn.addEventListener('click', function () {
17+
modal.classList.remove('cf-active-modal');
18+
document.querySelector('body').style.overflowY = "unset";
19+
});
20+
}
21+
22+
});

admin/assets/js/commenting-block-admin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,8 +1130,8 @@
11301130
}
11311131

11321132
});
1133-
// Restrict Br in newline in firefox
1134-
if ('firefox' === browser || 'safari' === browser) {
1133+
// Restrict Br in newline in firefox with resolved git issue #728 @author: Nirav Soni / since 4.7
1134+
if ('firefox' !== browser) {
11351135
$(document.body).on("keydown", '.cf-share-comment', function (e) {
11361136
if (e.keyCode == 13 && !e.shiftKey) {
11371137
document.execCommand('insertHTML', false, '<br><br>');

admin/assets/js/dist/activityCentre.build.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/dist/activityCentre.build.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/dist/block.build.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/dist/block.build.min.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/js/dist/styles/editorStyle.build.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/assets/scss/_comment_activity.scss

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
11
.multicollab_body_class {
2-
#cf-activity-center\:cf-activity-center {
3-
.components-panel > .components-panel__body.is-opened {
2+
.cf-activity_center__panel {
3+
&.components-panel__body.is-opened {
44
padding: 0;
55
border-top: none;
6-
.my-tab-panel {
7-
.components-tab-panel__tabs {
6+
7+
.cf-review_Suggestion__title {
8+
padding: 16px 16px 0 16px;
9+
margin-bottom: 0;
10+
11+
+ .accordian-panel{
812
border-bottom: 1px solid #e0e0e0;
913
}
14+
15+
+ .my-tab-panel {
16+
border-top: 1px solid #e0e0e0;
17+
.components-tab-panel__tabs {
18+
border-bottom: none;
19+
}
20+
}
21+
}
22+
.components-tab-panel__tabs {
23+
border-bottom: 1px solid #e0e0e0;
1024
}
25+
1126
}
1227
}
1328
.cf-share-comment {

0 commit comments

Comments
 (0)