- Try to fix feature remove issues.

This commit is contained in:
Paulo Gustavo Veiga 2012-09-27 23:44:52 -03:00
parent 3bd2242080
commit 6b76c53663
2 changed files with 3 additions and 3 deletions

View File

@ -281,7 +281,7 @@ mindplot.Topic = new Class({
var model = this.getModel(); var model = this.getModel();
// Update model ... // Update model ...
var feature = model.createFeature(type, attributes,featureId); var feature = model.createFeature(type, attributes, featureId);
model.addFeature(feature); model.addFeature(feature);

View File

@ -32,8 +32,8 @@ mindplot.model.NodeModel = new Class({
this._feature = []; this._feature = [];
}, },
createFeature:function (type, attributes) { createFeature:function (type, attributes, featureId) {
return mindplot.TopicFeature.createModel(type, attributes); return mindplot.TopicFeature.createModel(type, attributes, featureId);
}, },
addFeature:function (feature) { addFeature:function (feature) {