fix link frontend field

This commit is contained in:
Yuri Kuznetsov
2014-05-30 13:21:41 +03:00
parent 3162df43ca
commit 47ce2f587e
+1 -1
View File
@@ -164,7 +164,7 @@ Espo.define('Views.Fields.Link', 'Views.Fields.Base', function (Dep) {
fetch: function () {
var data = {};
data[this.nameName] = this.$el.find('[name="'+this.nameName+'"]').val();
data[this.nameName] = this.$el.find('[name="'+this.nameName+'"]').val() || null;
data[this.idName] = this.$el.find('[name="'+this.idName+'"]').val() || null;
return data;