Closed ghost closed 11 years ago
From your Tree example, if you add a "New Page" to an existing folder, the icon should display as a page. Currently it displays as a folder icon.
addNode : function (parent, type, name, onSuccess) { nextId = nextId + 1; onSuccess({ id: nextId, parent: parent, name: name, cssClass: type}); // add in cssClass to fix the issue }
From your Tree example, if you add a "New Page" to an existing folder, the icon should display as a page. Currently it displays as a folder icon.