A normal vocabulary edit page (without TM installed) has the Save button first, followed by the Delete button.
This module seems to change that around (so that Delete comes first) on line 68 of taxonomy_menu.module...
I think this should be changed back to how Drupal had it before, to save confusion.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | shot00345.jpg | 43.96 KB | PaV@drupal.ru |
| #3 | taxonomy_menu-403022-3.patch | 820 bytes | Anonymous (not verified) |
| #2 | taxonomy_menu-403022-2.patch | 820 bytes | Anonymous (not verified) |
Comments
Comment #1
vm commentedI agree with consistency. Otherwise users will delete accidentally.
Comment #2
Anonymous (not verified) commentedDidn't have time to create a patch before (on my way out to lunch), so here it is now...
EDIT: Oops, made the patch the wrong way around, see patch below instead :)
Comment #3
Anonymous (not verified) commentedTry this instead...
Comment #4
indytechcook commentedThanks BWPanda. I definitely agree and will commit tonight. Can someone else also please test so we can move it to RTBC?
Comment #5
indytechcook commentedThis is part of the latest DEV that will be availale on 3/16. Please test and I will add to stable.
Comment #6
PaV@drupal.ru commentedI'm updates this module, but positions still old.See attach
I'm added line 70 to taxonomy_menu.module $form['taxonomy_menu']['#weight'] = 9;
(because VTN Nodes consist in lines 582-584
// this is ugly, but it is even worth to have the Save/Delete buttons before the end
// (and if you know a cleaner way, post an issue with the solution!)
$form['submit']['#weight'] = 10;
$form['delete']['#weight'] = 11;
break;
)
Comment #7
vm commentedIf you are using version 2.1 you've not updated the module to 2.x-dev which is where this patch was applied according to developer comments in this thread.
Comment #8
vm commentedComment #9
PaV@drupal.ru commentedVeryMisunderstood but http://drupal.org/node/410170 posted
"#403022: Position of Save and Delete buttons by BWPanda (http://drupal.org/user/289407) Change the order of buttons."
Comment #10
vm commentedAh, you're right. I did not realize there was a new release. I'll remark for you.
Evidentally Pav@drupal.ru is still seeing this issue
Comment #11
indytechcook commentedSo this is a conflict with another module? Taxonomy menu sets the weights like this:
Comment #12
PaV@drupal.ru commentedindytechcook, jes i'm commented this lines and added line 70 to taxonomy_menu.module $form['taxonomy_menu']['#weight'] = 9;
Comment #13
Anonymous (not verified) commentedThis has been implemented in both current stable and .dev versions. Marking as fixed until further notice.