diff --git a/rockstar/rockstar.js b/rockstar/rockstar.js
index a4fb0d37..b8d062b4 100644
--- a/rockstar/rockstar.js
+++ b/rockstar/rockstar.js
@@ -581,7 +581,7 @@
function addCheckbox(value, text) {
const checked = exportColumns.includes(value) ? "checked" : "";
- checkboxDiv.html(checkboxDiv.html() + `
`);
+ checkboxDiv.html(checkboxDiv.html() + `
`);
}
const user = {
id: "User Id",
@@ -643,7 +643,16 @@
for (const p in profile) addCheckbox("profile." + p, profile[p]);
errorBox.html('Unable to fetch custom attributes. Use an account with more privileges.
Only base attributes shown below.');
});
-
+ selectAllAttributesButton = exportPopup.append(`
`);
+ $('#selectAllAttributes').on("click", function () {
+ if ($(this).val() == 'Toggle All' || $(this).val() == 'Check All') {
+ $('.userProfileAttributeCheckboxes').prop('checked', true);
+ $(this).val('Uncheck All');
+ } else {
+ $('.userProfileAttributeCheckboxes').prop('checked', false);
+ $(this).val('Check All');
+ }
+ });
if (filter) {
var exportArgs = localStorage.rockstarExportUserArgs || "";
exportPopup.append(