|
@ -704,7 +704,7 @@ DataSet.prototype._remove = function (id) { |
|
|
} |
|
|
} |
|
|
else if (id instanceof Object) { |
|
|
else if (id instanceof Object) { |
|
|
var itemId = id[this._fieldId]; |
|
|
var itemId = id[this._fieldId]; |
|
|
if (itemId && this._data[itemId]) { |
|
|
|
|
|
|
|
|
if (itemId !== undefined && this._data[itemId]) { |
|
|
delete this._data[itemId]; |
|
|
delete this._data[itemId]; |
|
|
this.length--; |
|
|
this.length--; |
|
|
return itemId; |
|
|
return itemId; |
|
|