summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2018-01-13 19:07:18 +0530
committeradityacp2018-01-13 19:07:18 +0530
commit5d206993d21c169cbc115733188f898d6c762e83 (patch)
treef3d24314072da6eb3385b4ca7dec4b788f24bd85
parent411a223216eb2834c6d764ac6912986894b5bdf2 (diff)
downloadonline_test-5d206993d21c169cbc115733188f898d6c762e83.tar.gz
online_test-5d206993d21c169cbc115733188f898d6c762e83.tar.bz2
online_test-5d206993d21c169cbc115733188f898d6c762e83.zip
Format column for csv download
-rw-r--r--yaksh/static/yaksh/js/course.js2
1 files changed, 1 insertions, 1 deletions
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
}
}