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

Error on description div with double click action #126

Open
camlafit opened this issue Oct 23, 2024 · 0 comments
Open

Error on description div with double click action #126

camlafit opened this issue Oct 23, 2024 · 0 comments

Comments

@camlafit
Copy link

Hello

I've enabled double lclick on all elements with theses parametres

var _CONF_DISPLAY_EDIT_ICON = "block";
var _CONF_LISTENER_TYPE_VALUE = "dblclick";
var _CONF_LISTENER_TARGET = "all"; 

and get this error :

Uncaught DOMException: Element.matches: 'div.issue.details .attributes .attribute .*' is not a valid selector
    <anonymous> https://redmine/plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js:200
    EventListener.handleEvent* https://redmine/plugin_assets/redmine_issue_dynamic_edit/javascripts/issue_dynamic_edit.js:198

behavior looks different between selector and description block.

If set to "value" , error is no more present.

Thanks a lot.

@camlafit camlafit changed the title Error on selector on double click action Error on description div with double click action Oct 23, 2024
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
@camlafit and others