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

Way to disable delete confirmation when deleting layers #264

Closed
riostevenson opened this issue Jan 14, 2014 · 3 comments
Closed

Way to disable delete confirmation when deleting layers #264

riostevenson opened this issue Jan 14, 2014 · 3 comments

Comments

@riostevenson
Copy link

Is the currently a way to disable delete confirmation when deleting layers. I would like to be able to click on delete can then click on layer and layer is gone without having to confirm by clicking save.

@jacobtoye
Copy link
Member

Currently this is not possible. It could be achieved by adding a configuration option and updating the L.EditToolbar.Delete handler.

@jduhls
Copy link

jduhls commented Jan 16, 2014

I would like to add to this feature request. Bypass the "Save" requirement but also the "Trash" button could be overridden to just delete all shapes and save in one click. I will update my stackoverflow question with a link to this feature request.

@jduhls
Copy link

jduhls commented Jan 31, 2014

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

3 participants