Can't show buttons with the same label on a form.

Amitaibu - October 31, 2008 - 17:16
Project:Content unpublish
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Amitaibu
Status:active
Description

1. Change label to Delete.
2. Edit a form with a user that can unpublish and delete as well.
3. The real delete button now redirects to node/[nid]/unpublish instead of node/[nid]/delete.

#1

Amitaibu - October 31, 2008 - 20:35

After clicking on the 'real' delete button I see in form_values that the clicked button has the wrong submit handler.

 
 

Drupal is a registered trademark of Dries Buytaert.