diff options
author | adityacp | 2018-05-29 15:40:50 +0530 |
---|---|---|
committer | adityacp | 2018-05-29 15:43:38 +0530 |
commit | 5da8a3537b1ffb51145cbba0500cedda9f2b48da (patch) | |
tree | 0fa0a2f2798f5c3209f23c43b94b91a1e28e7320 /yaksh/static | |
parent | 458134e4d110be451ed7e7c5f001c2d204e1e892 (diff) | |
download | online_test-5da8a3537b1ffb51145cbba0500cedda9f2b48da.tar.gz online_test-5da8a3537b1ffb51145cbba0500cedda9f2b48da.tar.bz2 online_test-5da8a3537b1ffb51145cbba0500cedda9f2b48da.zip |
Change in models, templates, js
- Remove else condition in get_current_unit model method
- Reduce ajax timeout in course.js
- Create a new model method to set current unit
- Change views test
Diffstat (limited to 'yaksh/static')
-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 36e565a..bd197a8 100644 --- a/yaksh/static/yaksh/js/course.js +++ b/yaksh/static/yaksh/js/course.js @@ -81,7 +81,7 @@ $('.user_data').click(function() { "/exam/manage/get_user_status/" + course_id + "/" + student_id;
$.ajax({
url: get_url,
- timeout: 15000,
+ timeout: 8000,
type: "GET",
dataType: "json",
contentType: 'application/json; charset=utf-8',
|