- Add support for copy and paste.

This commit is contained in:
Paulo Gustavo Veiga
2012-07-08 18:41:35 -03:00
parent a5acdc7bb7
commit 8175eea928
25 changed files with 446 additions and 326 deletions

View File

@@ -18,8 +18,8 @@
mindplot.model.NoteModel = new Class({
Extends: mindplot.model.FeatureModel,
initialize : function(topic, attributes) {
this.parent(mindplot.model.NoteModel.FEATURE_TYPE, topic);
initialize : function(attributes) {
this.parent(mindplot.model.NoteModel.FEATURE_TYPE);
this.setText(attributes.text);
},