We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29317e5 + f282ef6 commit 70137a8Copy full SHA for 70137a8
CHANGELOG.md
@@ -1,3 +1,8 @@
1
+## Version 24.05.X
2
+Fixes:
3
+- [populator] Fix nps generator
4
+
5
6
## Version 24.05.39
7
Features:
8
- [remote-config] Enable comparing newer/older app version in conditions
plugins/populator/frontend/public/javascripts/countly.models.js
@@ -1634,8 +1634,13 @@
1634
},
1635
success: function(json, textStatus, xhr) {
1636
if (json && json.result) {
1637
- var id = json.result.split(" ");
1638
- npsWidgetList.push(id[2]);
+ if (json.result._id) {
+ npsWidgetList.push(json.result._id);
1639
+ }
1640
+ else if (json.result.text) {
1641
+ var id = json.result.text.split(" ");
1642
+ npsWidgetList.push(id[2]);
1643
1644
}
1645
callback(json, textStatus, xhr);
1646
0 commit comments