src/js/widgets/createAnnotationWidget.js
branchpopcorn-port
changeset 773 b284013327fd
parent 769 70464200b601
child 776 f3c758ef9952
--- a/src/js/widgets/createAnnotationWidget.js	Fri Feb 03 15:30:56 2012 +0100
+++ b/src/js/widgets/createAnnotationWidget.js	Fri Feb 03 15:31:24 2012 +0100
@@ -41,6 +41,7 @@
   if (!this.cinecast_version)
     this.selector.hide();
   
+  // add the keywords.
   for (var i = 0; i < this.keywords.length; i++) {
     var keyword = this.keywords[i];
     var id = IriSP.guid("button_");
@@ -260,7 +261,7 @@
 IriSP.createAnnotationWidget.prototype.showStartScreen = function() {
   this.selector.find(".Ldt-createAnnotation-DoubleBorder").children().hide();
   this.selector.find(".Ldt-createAnnotation-startScreen").show();
-  this.selector.find("Ldt-createAnnotation-Description").val("Type your annotation here.");  
+  this.selector.find(".Ldt-createAnnotation-Description").val("Type your annotation here.");  
 };
 
 IriSP.createAnnotationWidget.prototype.showWaitScreen = function() {
@@ -433,6 +434,5 @@
               function(jqXHR, textStatus, errorThrown) { 
                             console.log("an error occured while contacting " 
                             + url + " and sending " + jsonString + textStatus ); 
-                            debugger;
                             _this.showErrorScreen(); } });
 };
\ No newline at end of file