mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-05 07:03:24 +01:00
- Fix Uncaught Icon can no be found., line:3940
This commit is contained in:
parent
3f173ec2f1
commit
1efa24f2aa
@ -40,7 +40,9 @@ mindplot.commands.RemoveFeatureFromTopicCommand = new Class({
|
||||
var topic = commandContext.findTopics(this._topicId)[0];
|
||||
|
||||
var feature = this._oldFeature;
|
||||
topic.addFeature(feature.getType(), feature.getAttributes());
|
||||
var newFeature = topic.addFeature(feature.getType(), feature.getAttributes());
|
||||
this._featureId = newFeature.getModel().getId();
|
||||
|
||||
this._oldFeature = null;
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user