From 734843c3773a763ea73a4a6fbf3e97c1eb4552ef Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Fri, 23 Aug 2013 11:42:30 -0400 Subject: [PATCH] Confirm changed to alert --- .../xmodule/xmodule/js/src/combinedopenended/edit.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lib/xmodule/xmodule/js/src/combinedopenended/edit.coffee b/common/lib/xmodule/xmodule/js/src/combinedopenended/edit.coffee index f54600d148..89bda70a10 100644 --- a/common/lib/xmodule/xmodule/js/src/combinedopenended/edit.coffee +++ b/common/lib/xmodule/xmodule/js/src/combinedopenended/edit.coffee @@ -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.