Skip to content

Commit 6b24825

Browse files
committed
[remote-config] Fix delete dialog
1 parent 29d92c5 commit 6b24825

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/remote-config/frontend/public/javascripts/countly.views.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@
837837
self.onSubmit();
838838
});
839839

840-
}, [this.i18n["common.no-dont-delete"], this.i18n["remote-config.yes-delete-parameter"]], {title: this.i18n["remote-config.delete-parameter-title"], image: "delete-email-report"});
840+
}, [this.i18n("common.no-dont-delete"), this.i18n("remote-config.yes-delete-parameter")], {title: this.i18n("remote-config.delete-parameter-title"), image: "delete-email-report"});
841841
break;
842842
}
843843
},
@@ -921,7 +921,7 @@
921921
break;
922922

923923
case "remove":
924-
CountlyHelpers.confirm(this.i18n("remote-config.confirm-condition-delete", "<b>" + name + "</b>"), "popStyleGreen", function(result) {
924+
CountlyHelpers.confirm(this.i18n("remote-config.confirm-condition-delete", "<b>" + row.condition_name + "</b>"), "popStyleGreen", function(result) {
925925
if (!result) {
926926
return false;
927927
}
@@ -930,7 +930,7 @@
930930
self.onSubmit();
931931
});
932932

933-
}, [this.i18n["common.no-dont-delete"], this.i18n["remote-config.yes-delete-condition"]], {title: this.i18n["remote-config.delete-condition-title"], image: "delete-email-report"});
933+
}, [this.i18n("common.no-dont-delete"), this.i18n("remote-config.yes-delete-condition")], {title: this.i18n("remote-config.delete-condition-title"), image: "delete-email-report"});
934934
break;
935935
}
936936
},

0 commit comments

Comments
 (0)