@edx/edx-proctoring
Advanced tools
Comparing version 3.23.8 to 3.23.9
@@ -86,3 +86,3 @@ /* globals accessible_modal:false */ | ||
// Update the state of the attempt | ||
function updateExamAttemptStatusPromise(actionUrl, action, isVerifiedNameEnabled) { | ||
function updateExamAttemptStatusPromise(actionUrl, action) { | ||
return function() { | ||
@@ -93,4 +93,3 @@ return Promise.resolve($.ajax({ | ||
data: { | ||
action: action, | ||
is_verified_name_enabled: isVerifiedNameEnabled | ||
action: action | ||
} | ||
@@ -129,8 +128,3 @@ })); | ||
var action = $this.data('action'); | ||
// Course waffle flag for verified name | ||
var main = document.getElementById('main'); | ||
var isVerifiedNameEnabled = main.dataset.isVerifiedNameEnabled.toLowerCase() === 'true'; | ||
updateExamAttemptStatusPromise(actionUrl, action, isVerifiedNameEnabled)() | ||
updateExamAttemptStatusPromise(actionUrl, action)() | ||
.then(reloadPage) | ||
@@ -137,0 +131,0 @@ .catch(errorHandlerGivenMessage( |
{ | ||
"name": "@edx/edx-proctoring", | ||
"//": "Note that the version format is slightly different than that of the Python version when using prereleases.", | ||
"version": "3.23.8", | ||
"version": "3.23.9", | ||
"main": "edx_proctoring/static/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
1012563
18448