Skip to content

Commit 2032f2a

Browse files
authoredMay 1, 2020
Merge pull request #1319 from frknbasaran/feedback_fix
[feedback_fix] fixed integration popup problem.
2 parents bedc2dc + dd8b999 commit 2032f2a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎plugins/star-rating/frontend/public/javascripts/countly.views.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ window.starView = countlyView.extend({
12471247
$('#overlay').fadeIn();
12481248
$('#widgets-array').html($(this).data('id'));
12491249
$('.feedback-copy-code').attr("data-clipboard-text", "Countly.q.push(['enable_feedback',{'widgets':['" + $(this).data('id') + "']}]);");
1250-
$('.feedback-modal').css({
1250+
$('#feedback-' + countlyGlobal.apps[store.get('countly_active_app')].type + '-integration').css({
12511251
"display": "block"
12521252
});
12531253
var id = $(this).data('id');
@@ -2081,7 +2081,7 @@ window.starView = countlyView.extend({
20812081
title: jQuery.i18n.map['feedback.successfully-created'],
20822082
message: jQuery.i18n.map['feedback.successfully-created-message']
20832083
});
2084-
$('.feedback-modal').css({
2084+
$('#feedback-' + countlyGlobal.apps[store.get('countly_active_app')].type + '-integration').css({
20852085
"display": "block"
20862086
});
20872087
self.renderFeedbacksTable(true);

‎plugins/star-rating/frontend/public/templates/star.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
Please go to <a class="feedback-popup-link" target="_new"
1717
href="https://resources.count.ly/docs/countly-sdk-for-web">this page</a>, copy the code snippet
18-
above and insert this one line. <br> <br>
18+
above and insert this one line. <br>
1919
After you are done, please refresh your web page to see the widget call to action button.
2020
</div>
2121
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.