# Custom action of double click on Node

**URL:** https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210
**Category:** General
**Created:** [1 September 2022 08:31 UTC](https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210 "2022-09-01T08:31:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dnyaneshwar](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@dnyaneshwar](https://discourse.nodered.org/u/dnyaneshwar)
#### Post date: [1 September 2022 08:31 UTC](https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210/1 "2022-09-01T08:31:02Z")

</div>

I have one custom node,  
when I double click on node ,we have to open one url on oneditprepare event.  
I am able to open that url, **but problem with edit dialog. we don't want to open edit dialog.**

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [1 September 2022 09:24 UTC](https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210/2 "2022-09-01T09:24:22Z")

</div>

Node-RED doesn't provide any way to customise that behaviour. You cannot prevent the edit dialog from opening.

An alternative would be for you to set the edit pane for the node to just include a single button they click to open the url.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [31 October 2022 09:24 UTC](https://discourse.nodered.org/t/custom-action-of-double-click-on-node/67210/3 "2022-10-31T09:24:36Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
