Fixed init value of string fields in virtual corpora
Change-Id: I7d9bd8f3a2d440cc6ef9a07f88d1058b65793f63
diff --git a/dev/js/src/vc/doc.js b/dev/js/src/vc/doc.js
index bdedb70..d2a413e 100644
--- a/dev/js/src/vc/doc.js
+++ b/dev/js/src/vc/doc.js
@@ -213,7 +213,6 @@
// Check the VC list if the field is known
var type = KorAP._vcKeyMenu.typeOf(this.key());
if (type != undefined) {
- console.log("Guessed the type for " + this.key() + " to be " + type);
json["type"] = "type:" + type;
};
};
@@ -476,7 +475,7 @@
_changeValue : function (e) {
var v = this.value();
var that = this;
-
+
// Show datepicker
if (this.type() === 'date') {
var dp = KorAP._vcDatePicker;