]> git.mjollnir.org Git - moodle.git/commitdiff
typo - reponse instead of response
authorarborrow <arborrow>
Mon, 6 Apr 2009 03:47:12 +0000 (03:47 +0000)
committerarborrow <arborrow>
Mon, 6 Apr 2009 03:47:12 +0000 (03:47 +0000)
mod/forum/rate_ajax.js

index eb240db1007850821fb32a495eb9b09a8b9e1ba8..534067acb69a3b8d89f5a4d18bd32c5935336cd7 100644 (file)
@@ -71,7 +71,7 @@ function prevent_form_submission(e) {
 /**
  * This function performs the communication with the server
  * in order to send new rates and receive feedback about that.
- * It's the action thrown by all the menu listeners defined above
+ * It is the action thrown by all the menu listeners defined above
  */
 function perform_rate(e, menu) {
 
@@ -114,7 +114,7 @@ function rate_success(o) {
 
     /** Process error response **/
     if (response.status != 'Ok') {
-        display_error(menu, reponse);
+        display_error(menu, response);
     } else {
         display_response(menu, response);
     }