http://www.atutor.ca/atutor/mantis/view.php?id=4356
authorCindy Li <cli@ocad.ca>
Thu, 24 Jun 2010 19:02:59 +0000 (19:02 -0000)
committerCindy Li <cli@ocad.ca>
Thu, 24 Jun 2010 19:02:59 +0000 (19:02 -0000)
docs/include/handleResponse.php [deleted file]

diff --git a/docs/include/handleResponse.php b/docs/include/handleResponse.php
deleted file mode 100644 (file)
index cd44fc4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-//************************************************************************/\r
-//* Transformable                                                        */\r
-//************************************************************************/\r
-//* Copyright (c) 2009                                                   */\r
-//* Adaptive Technology Resource Centre / University of Toronto          */\r
-//*                                                                      */\r
-//* This program is free software. You can redistribute it and/or        */\r
-//* modify it under the terms of the GNU General Public License          */\r
-//* as published by the Free Software Foundation.                        */\r
-//************************************************************************/\r
-\r
-function handleResponse(data)\r
-{\r
-       if (data.status != "fail") return;\r
-       \r
-       if (data.num_of_errors > 0)\r
-       {\r
-               for(i==0; i<data.error.length; i++)\r
-               {\r
-                       alert(i);\r
-               }\r
-       }\r
-}\r
-\r
-// templates for message boxes\r
-var template_error_prefix = '\\r
-       <div id="error"> \\r
-       <h4><?php echo _AT('the_follow_errors_occurred'); ?></h4> \\r
-';\r
-\r
-var template_warning_prefix = '\\r
-       <div id="warning"> \\r
-';\r
-\r
-var template_feedback_prefix = '\\r
-       <div id="feedback"> \\r
-';\r
-\r
-\r
-var template_suffix = '        </div>';
\ No newline at end of file