fixed global variable declaration bug. popcorn-port
authorhamidouk
Wed, 26 Oct 2011 11:32:01 +0200
branchpopcorn-port
changeset 146 b99527037c89
parent 145 b477c9430d36
child 147 955119f901b4
fixed global variable declaration bug.
src/js/widgets/annotationsWidget.js
--- a/src/js/widgets/annotationsWidget.js	Tue Oct 25 17:30:16 2011 +0200
+++ b/src/js/widgets/annotationsWidget.js	Wed Oct 26 11:32:01 2011 +0200
@@ -44,6 +44,8 @@
 	IriSP.jQuery("#Ldt-Ligne").append(annotationMarkup);
 
   var annotations = this._serializer._data.annotations;
+  var i;
+  
 	for (i in annotations) {    
     var annotation = annotations[i];
     var begin = Math.round((+ annotation.begin) / 1000);