Browse Source

Avoid resetting variables if in a simple 'continue' view - for elearningla #scorm

Yannick Warnier 13 years ago
parent
commit
27236217a2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main/newscorm/learnpathItem.class.php

+ 3 - 3
main/newscorm/learnpathItem.class.php

@@ -1672,11 +1672,11 @@ class learnpathItem {
 		} else {
 			// Restart current element is allowed (because it's not finished yet),
 			// reinit current.
-			$this->current_score = 0;
+			//$this->current_score = 0;
 			$this->current_start_time = 0;
 			$this->current_stop_time = 0;
-			$this->current_data = '';
-			$this->status = $this->possible_status[0];
+			//$this->current_data = '';
+			//$this->status = $this->possible_status[0];
 			$this->interactions_count = $this->get_interactions_count(true);
       if ($this->type == 'sco') 
         $this->scorm_init_time();