Fix icon removal. Notes pending.

- Update icon size
This commit is contained in:
Paulo Veiga
2011-09-02 13:59:08 -03:00
parent d43eb930d9
commit ba1a724df6
4 changed files with 52 additions and 70 deletions

View File

@@ -146,7 +146,7 @@ mindplot.model.NodeModel = new Class({
this._notes.push(note);
},
_removeNote : function(note) {
removeNote : function(note) {
$assert(note && note.isNoteModel(), 'Only NoteModel can be appended to Mindmap object as links');
this._notes.erase(note);
},
@@ -161,7 +161,7 @@ mindplot.model.NodeModel = new Class({
this._icons.push(icon);
},
_removeIcon : function(icon) {
removeIcon : function(icon) {
$assert(icon && icon.isIconModel(), 'Only IconModel can be appended to Mindmap object as icons');
this._icons.erase(icon);
},