mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-23 03:43:48 +01:00
- Try to fix feature remove issues.
This commit is contained in:
parent
3bd2242080
commit
6b76c53663
@ -281,7 +281,7 @@ mindplot.Topic = new Class({
|
||||
var model = this.getModel();
|
||||
|
||||
// Update model ...
|
||||
var feature = model.createFeature(type, attributes,featureId);
|
||||
var feature = model.createFeature(type, attributes, featureId);
|
||||
model.addFeature(feature);
|
||||
|
||||
|
||||
|
@ -32,8 +32,8 @@ mindplot.model.NodeModel = new Class({
|
||||
this._feature = [];
|
||||
},
|
||||
|
||||
createFeature:function (type, attributes) {
|
||||
return mindplot.TopicFeature.createModel(type, attributes);
|
||||
createFeature:function (type, attributes, featureId) {
|
||||
return mindplot.TopicFeature.createModel(type, attributes, featureId);
|
||||
},
|
||||
|
||||
addFeature:function (feature) {
|
||||
|
Loading…
Reference in New Issue
Block a user