Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deleting issue #9

Open
vagharsh opened this issue Apr 28, 2014 · 1 comment
Open

deleting issue #9

vagharsh opened this issue Apr 28, 2014 · 1 comment

Comments

@vagharsh
Copy link

hi,
after deleting all the nodes if you press the delete button again it gives you this error and the delete function does not work anymore.
i have tested it on Windows 7 using Google Chrome.

Uncaught TypeError: Cannot read property 'children' of undefined model.js:181
Model.nextSibling model.js:181
commands.cut.apply commands.js:100
Controller.doCommand controller.js:93
Controller.executeCommands controller.js:47
Controller.actions.cut controller.js:135
View.actions.cut view.js:146
(anonymous function) keys.js:58
(anonymous function) view.js:329

by the way, it is very great work but it would be better if you can control creating the nodes and all the other function by buttons too.

@jaredly
Copy link
Owner

jaredly commented May 8, 2014

Thanks for the note!
Regarding buttons: the main projects is the underlying model and view.
Buttons for each of the things depend on the given view, and the one I came
up with is only a simple example. Adding such buttons would be simple, and
could be customized to your specific use case

On Mon, Apr 28, 2014 at 11:35 AM, vagharsh [email protected] wrote:

hi,
after deleting all the nodes if you press the delete button again it gives
you this error and the delete function does not work anymore.
i have tested it on Windows 7 using Google Chrome.

Uncaught TypeError: Cannot read property 'children' of undefined
model.js:181
Model.nextSibling model.js:181
commands.cut.apply commands.js:100
Controller.doCommand controller.js:93
Controller.executeCommands controller.js:47
Controller.actions.cut controller.js:135
View.actions.cut view.js:146
(anonymous function) keys.js:58
(anonymous function) view.js:329

by the way, it is very great work but it would be better if you can
control creating the nodes and all the other function by buttons too.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants