- 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

@@ -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);
},