+++ /dev/null
-//************************************************************************/\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