diff options
author | adityacp | 2018-01-13 19:07:18 +0530 |
---|---|---|
committer | adityacp | 2018-01-13 19:07:18 +0530 |
commit | 5d206993d21c169cbc115733188f898d6c762e83 (patch) | |
tree | f3d24314072da6eb3385b4ca7dec4b788f24bd85 /yaksh | |
parent | 411a223216eb2834c6d764ac6912986894b5bdf2 (diff) | |
download | online_test-5d206993d21c169cbc115733188f898d6c762e83.tar.gz online_test-5d206993d21c169cbc115733188f898d6c762e83.tar.bz2 online_test-5d206993d21c169cbc115733188f898d6c762e83.zip |
Format column for csv download
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/static/yaksh/js/course.js | 2 |
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
}
}
|