Confirm changed to alert
This commit is contained in:
@@ -63,7 +63,7 @@ Write a persuasive essay to a newspaper reflecting your vies on censorship in li
|
||||
else
|
||||
@createXMLEditor()
|
||||
|
||||
@confirmTaskRubricModification()
|
||||
@alertTaskRubricModification()
|
||||
|
||||
###
|
||||
Creates the XML Editor and sets it as the current editor. If text is passed in,
|
||||
@@ -95,8 +95,8 @@ Write a persuasive essay to a newspaper reflecting your vies on censorship in li
|
||||
# Hide markdown-specific toolbar buttons
|
||||
$(@element.find('.editor-bar')).hide()
|
||||
|
||||
confirmTaskRubricModification: ->
|
||||
return confirm("Before you edit, please note that if you alter the tasks block or the rubric block of this question after students have submitted responses, it may result in their responses and grades being deleted! Use caution when altering problems that have already been released to students.")
|
||||
alertTaskRubricModification: ->
|
||||
return alert("Before you edit, please note that if you alter the tasks block or the rubric block of this question after students have submitted responses, it may result in their responses and grades being deleted! Use caution when altering problems that have already been released to students.")
|
||||
###
|
||||
Have the user confirm the one-way conversion to XML.
|
||||
Returns true if the user clicked OK, else false.
|
||||
|
||||
Reference in New Issue
Block a user