View | Details | Raw Unified | Return to bug 31599
Collapse All | Expand All

(-)a/ucs-school-umc-computerroom/umc/js/computerroom.js (-5 / +6 lines)
 Lines 919-929   define([ Link Here 
919
					return;
919
					return;
920
				}
920
				}
921
921
922
				// stop the timer
923
				if (this._examEndTimer) {
924
					window.clearTimeout(this._examEndTimer);
925
				}
926
927
				// start collection the files
922
				// start collection the files
928
				var info = this.get('roomInfo') || {};
923
				var info = this.get('roomInfo') || {};
929
				var deferred = this.umcpCommand('schoolexam/exam/collect', {
924
				var deferred = this.umcpCommand('schoolexam/exam/collect', {
 Lines 968-973   define([ Link Here 
968
					return;
963
					return;
969
				}
964
				}
970
965
966
				// stop the timer
967
				if (this._examEndTimer) {
968
					window.clearTimeout(this._examEndTimer);
969
					this._examEndTimer = null;
970
				}
971
971
				// start finishing the exam
972
				// start finishing the exam
972
				var info = this.get('roomInfo') || {};
973
				var info = this.get('roomInfo') || {};
973
				this.umcpCommand('schoolexam/exam/finish', {
974
				this.umcpCommand('schoolexam/exam/finish', {

Return to bug 31599