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

quiptime’s picture

Thanks for your report. Fixed in Mnb 6.x-1.0.

quiptime’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

mrogers’s picture

Status: Closed (fixed) » Active

I'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.

mrogers’s picture

Following 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.