From 5d206993d21c169cbc115733188f898d6c762e83 Mon Sep 17 00:00:00 2001 From: adityacp Date: Sat, 13 Jan 2018 19:07:18 +0530 Subject: Format column for csv download --- yaksh/static/yaksh/js/course.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh') diff --git a/yaksh/static/yaksh/js/course.js b/yaksh/static/yaksh/js/course.js index 162e0b8..1ca908b 100644 --- a/yaksh/static/yaksh/js/course.js +++ b/yaksh/static/yaksh/js/course.js @@ -121,7 +121,7 @@ function exportTableToCSV($table, filename) { var $col = $(col), $text = $col.text(); - return $text.replace('"', '""').replace("View Unit Status", ''); // escape double quotes + return $text.replace('"', '""').replace("View Unit Status", '').replace("View Units", ""); // escape double quotes } } -- cgit