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

ext-edit: triggerStart: [] does not override the default settings #876

Closed
mar10 opened this issue Jun 27, 2018 · 0 comments
Closed

ext-edit: triggerStart: [] does not override the default settings #876

mar10 opened this issue Jun 27, 2018 · 0 comments

Comments

@mar10
Copy link
Owner

mar10 commented Jun 27, 2018

$("#tree").fancytree({
	extensions: ["edit"],
	source: {url: "ajax-tree-products.json"},
	edit: {
		triggerStart: ["foo"],

will result in this effective option:

["foo", "mac+enter", "shift+click"]

Offending line in the general extension initialization code:

this.tree.options[extName] = $.extend(true, {}, extension.options, this.tree.options[extName]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant