- Try to fix feature remove issues.

This commit is contained in:
Paulo Gustavo Veiga
2012-09-27 23:41:17 -03:00
parent e5ab234d01
commit 3bd2242080
7 changed files with 15 additions and 20 deletions

View File

@@ -31,7 +31,7 @@ mindplot.model.FeatureModel = new Class({
initialize:function (type, id) {
$assert(type, 'type can not be null');
this._id = $defined(id) ? this._id : mindplot.model.FeatureModel._nextUUID();
this._id = $defined(id) ? id : mindplot.model.FeatureModel._nextUUID();
this._type = type;
this._attributes = {};