Active
Project:
More node buttons
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2010 at 18:11 UTC
Updated:
27 Nov 2010 at 17:46 UTC
Hi,
I missed the value for the value attribute in the input field used for the cancel button. When I look at the module I changed the line 164 and then the right value (eg. "Cancel") appeared at the form:
'#default_value' => variable_get('more_node_buttons_cancel_'. $type, 0),
changed to
'#default_value' => variable_get('more_node_buttons_cancel_'. $type, 0),
Just took away the underscore.
Greez,
Tobias
Comments
Comment #1
quiptime commentedThanks for your report. Fixed in Mnb 6.x-1.0.
Comment #2
quiptime commentedComment #4
mrogers commentedI'm getting 'Save and Continue' and 'Cancel' buttons showing up without any value as well -- tried both the 1.x and Dev with the same results.
Comment #5
mrogers commentedFollowing up on #4, I've found that visiting "admin/settings/more-node-buttons" and hitting "Save" causes the values to appear in the buttons. Note that I don't need to make any changes to the settings; hitting 'save' is enough to populate the values.