After selecting messages and pressing on the Recycle button, you come upon the the "Recycle messages?" page. It's an odd UI design to have the "Recycle" a button and "Cancel" a link on that page. "Cancel" should also be a button.
After selecting messages and pressing on the Recycle button, you come upon the the "Recycle messages?" page. It's an odd UI design to have the "Recycle" a button and "Cancel" a link on that page. "Cancel" should also be a button.
Comments
Comment #1
wmostrey commentedThis will most likely not change since this is default Drupal behavior. Any option like this has the confirmation action as a button and the cancel action as a link. If you really want to, you can use css to make it look like a button on your whole site.
Comment #2
Zen commentedComment #3
byteslinger commentedDrupal has it's reasons for using the Cancel link. Also, the browser back button is indeed the proper tool for most "Cancel" functionality. But I have had several users get frustrated because they are not sure what to do next when they don't want to save changes they've made on a form or are afraid to click a "Delete" button. I advise using it sparingly, and only for user convenience, but here is a simple Cancel button that seems to work well on my Drupal forms:
$form['cancel'] = array(
'#type' => 'button',
'#value' => t('Cancel'),
'#attributes' => array('onClick' => "form.action='javascript:history.back(-1);'"),
);