diff --git a/application/views/admin/participants/displayParticipants_view.php b/application/views/admin/participants/displayParticipants_view.php index c5f9db15889..1051df1ba7b 100644 --- a/application/views/admin/participants/displayParticipants_view.php +++ b/application/views/admin/participants/displayParticipants_view.php @@ -129,6 +129,8 @@ var addpartErrorMsg = "eT("No surveys are available. Either you don't have permissions to any surveys or none of your surveys have a token table", 'js'); ?>"; var mapButton = "eT("Next", 'js') ?>"; var error = "eT("Error", 'js') ?>"; + var sWarningMsg = "eT("Warning", 'js') ?>"; + var sSelectRowMsg = "eT("Please select at least one participant.", 'js') ?>"; var addsurvey = "eT("Add participants to survey", 'js') ?>"; var exportcsv = "eT("Export CSV", 'js') ?>"; var nooptionselected = "eT("Please choose either of the options", 'js') ?>"; diff --git a/scripts/admin/displayParticipant.js b/scripts/admin/displayParticipant.js index 9fccfc19b0b..833bea3e812 100644 --- a/scripts/admin/displayParticipant.js +++ b/scripts/admin/displayParticipant.js @@ -274,6 +274,8 @@ $(document).ready(function() { edit:false, refresh: true, search: false, + alertcap: sWarningMsg, + alerttext: sSelectRowMsg, addtitle: createParticipantTxt, deltitle: deleteParticipantTxt, refreshtitle: refreshListTxt},