Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
be0b4208
Commit
be0b4208
authored
Jul 15, 2015
by
Afzal Wali
Committed by
Muhammad Shoaib
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quality fixes
parent
424f1e44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
edx_proctoring/models.py
+1
-2
edx_proctoring/static/proctoring/js/views/proctored_exam_attempt_view.js
+1
-2
No files found.
edx_proctoring/models.py
View file @
be0b4208
...
...
@@ -13,6 +13,7 @@ from django.contrib.auth.models import User
from
edx_proctoring.exceptions
import
UserNotFoundException
from
django.db.models.base
import
ObjectDoesNotExist
class
ProctoredExam
(
TimeStampedModel
):
"""
Information about the Proctored Exam.
...
...
@@ -119,7 +120,6 @@ class ProctoredExamStudentAttemptManager(models.Manager):
return
self
.
filter
(
proctored_exam__course_id
=
course_id
)
def
get_filtered_exam_attempts
(
self
,
course_id
,
search_by
):
"""
Returns the Student Exam Attempts for the given course_id filtered by search_by.
...
...
@@ -130,7 +130,6 @@ class ProctoredExamStudentAttemptManager(models.Manager):
return
self
.
filter
(
filtered_query
)
def
get_active_student_attempts
(
self
,
user_id
,
course_id
=
None
):
"""
Returns the active student exams (user in-progress exams)
...
...
edx_proctoring/static/proctoring/js/views/proctored_exam_attempt_view.js
View file @
be0b4208
...
...
@@ -54,8 +54,7 @@ var edx = edx || {};
},
getPaginatedAttempts
:
function
(
event
)
{
var
target
=
$
(
event
.
currentTarget
);
var
url
=
target
.
data
(
'target-url'
);
this
.
collection
.
url
=
url
;
this
.
collection
.
url
=
target
.
data
(
'target-url'
);
this
.
hydrate
();
event
.
stopPropagation
();
event
.
preventDefault
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment