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
e65bd231
Commit
e65bd231
authored
Jul 15, 2015
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use the browser alert mechanism to try to bring window to the foreground when exam starts
parent
67f11806
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
edx_proctoring/templates/proctoring/seq_proctored_exam_instructions.html
+7
-2
No files found.
edx_proctoring/templates/proctoring/seq_proctored_exam_instructions.html
View file @
e65bd231
...
...
@@ -17,8 +17,7 @@
Here is your unique exam code. You'll be asked for it during the setup.
{% endblocktrans %}
</h3>
<h1>
{{exam_code}}
<span
class=
'copy-to-clipboard'
></span>
</h1>
<h2>
{{exam_code}}
<span
class=
'copy-to-clipboard'
></span></h2>
<p>
{% blocktrans %}
Please do not share this code. It can only be used once and it tied to your edX account.
...
...
@@ -96,6 +95,12 @@
var
url
=
$
(
'.instructions'
).
data
(
'exam-started-poll-url'
)
$
.
ajax
(
url
).
success
(
function
(
data
){
if
(
data
.
started_at
!==
null
)
{
// Let the student know exam has started and clock is running.
// this may or may not bring the browser window back to the
// foreground (depending on browser as well as user settings)
alert
(
'{% trans "Your proctored exam has started, please click OK to enter into your exam." %}'
)
// Reloading page will reflect the new state of the attempt
location
.
reload
()
}
});
...
...
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