diff --git a/plugins/UsersManager/javascripts/usersSettings.js b/plugins/UsersManager/javascripts/usersSettings.js index 4c05a46478cb661edec1ae256b9c17f2b566533d..a26652255dfb1d8b3c775586fdac9441e44c15b5 100644 --- a/plugins/UsersManager/javascripts/usersSettings.js +++ b/plugins/UsersManager/javascripts/usersSettings.js @@ -24,7 +24,7 @@ function sendUserSettingsAJAX() { var defaultReport = $('input[name=defaultReport]:checked').val(); if (defaultReport == 1) { - defaultReport = $('#userSettingsTable').find('.custom_select_main_link').attr('siteid'); + defaultReport = $('#userSettingsTable').find('.custom_select_main_link').attr('data-siteid'); } var postParams = {}; postParams.alias = alias;