Shift + Dblclick to delete a content

fajerstarter - November 23, 2006 - 21:40
Project:Double Click
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

See title. Would be neat.

#1

jjeff - November 24, 2006 - 18:58

Sounds dangerous! :-)

However, I *do* like the idea of passing along an argument that the shift key was down during the double click. I'll have look into how easy this would be to implement.

#2

fajerstarter - November 25, 2006 - 08:37

Why? :) You will still get the confirm page, right?

#3

jjeff - November 25, 2006 - 14:59

In the HEAD version, I've added support for shift-double-click and alt-double-click to the javascript. Now modules that implement hook_dblclick() can check to see if a double-click was executed with either (of both) of these keys pressed. However there is no actions based on these keys currently handled by the Double Click module.

I'll move this over to the 5.x version in a few days.

 
 

Drupal is a registered trademark of Dries Buytaert.