Browse Source

Removing console.log

Julio Montoya 12 years ago
parent
commit
d9c5d7a818
2 changed files with 1 additions and 3 deletions
  1. 1 2
      main/exercice/exercise_submit.php
  2. 0 1
      main/exercice/savescores.php

+ 1 - 2
main/exercice/exercise_submit.php

@@ -809,8 +809,7 @@ if (!empty($error)) {
             function save_now(question_id, url_extra) {
            		//1. Normal choice inputs
            		var my_choice = $(\'*[name*="choice[\'+question_id+\']"]\').serialize();
-                console.log(my_choice);
-
+                
            		//2. Reminder checkbox
            		var remind_list = $(\'*[name*="remind_list"]\').serialize();
 

+ 0 - 1
main/exercice/savescores.php

@@ -83,7 +83,6 @@ function save_scores($file, $score) {
             $(document).ready(function() {
                 //API_obj = window.frames.window.content.API;
                 //API_obj = $('content_id').context.defaultView.content.API; //works only in FF
-                //console.log(window.parent.frames.window.top.API);
                 //API_obj = window.parent.frames.window.top.API;
                 API_obj = window.top.API;
                 API_obj.void_save_asset('$score', '$weighting', 0, 'completed');