- Try to fix feature remove issues.
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
|
||||
mindplot.model.NoteModel = new Class({
|
||||
Extends:mindplot.model.FeatureModel,
|
||||
initialize:function (attributes) {
|
||||
this.parent(mindplot.model.NoteModel.FEATURE_TYPE);
|
||||
initialize:function (attributes, id) {
|
||||
this.parent(mindplot.model.NoteModel.FEATURE_TYPE, id);
|
||||
var noteText = attributes.text ? attributes.text : " ";
|
||||
this.setText(noteText);
|
||||
},
|
||||
|
Reference in New Issue
Block a user