diff --git a/lms/static/coffee/src/instructor_dashboard/data_download.coffee b/lms/static/coffee/src/instructor_dashboard/data_download.coffee index d2e0260e42..535f3d2b16 100644 --- a/lms/static/coffee/src/instructor_dashboard/data_download.coffee +++ b/lms/static/coffee/src/instructor_dashboard/data_download.coffee @@ -45,7 +45,7 @@ class DataDownload # this handler binds to both the download # and the csv button @$list_studs_csv_btn.click (e) => - url = @$list_studs_btn.data 'endpoint' + url = @$list_studs_csv_btn.data 'endpoint' # handle csv special case # redirect the document to the csv file. url += '/csv'