wrong weight?

moshe weitzman - January 29, 2007 - 06:21
Project:Submit Again
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

the new button is added right in the moddile of the admin fieldsets on node form. i expected it to be next to the regular save button. if you want an example of my expectation, see the brand new 'save and edit' button on views form.

#1

mfredrickson - January 29, 2007 - 16:42

Yeah. I've noticed this too. The problem (I think) is in the node form #after_build function. I think it reweights the preview, submit, and delete buttons way down to the bottom. For users without the "admin nodes" priv, the button will appear just above preview, delete. I could probably theme it down there, but I haven't had the time to muck around with it yet.

#2

moshe weitzman - March 1, 2007 - 15:55

see diff.module for some nasty but effective themeing for this.

#3

deekayen - January 17, 2008 - 03:57
Status:active» fixed

Borrowed theme_diff_node_form() code from diff.module as suggested and committed in CVS revision 1.2.

#4

deekayen - January 17, 2008 - 04:22
Version:5.x-1.x-dev» 6.x-1.0

feature wasn't backported to 5.x-dev

#5

Anonymous (not verified) - January 31, 2008 - 04:23
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.