Fix test for empty result

This commit is contained in:
Cédric Krier committed 2013-04-18 17:23:31 +02:00
1 parent 208e2961bd
commit b7ea0ed980
1 file changed
+2 -2
+2 -2
View File
@@ -1248,7 +1248,7 @@
return;
}
var callback = function (result) {
if (result) {
if (!jQuery.isEmptyObject(result)) {
var value = this.value_from_id(result[0][0],
result[0][1]);
this.record().field_set_client(this.field_name,
@@ -1341,7 +1341,7 @@
return;
}
var callback = function (result) {
if (result) {
if (!jQuery.isEmptyObject(result)) {
var value = this.value_from_id(result[0][0],
result[0][1]);
this.record().field_set_client(this.field_name,