Module require his settings form submitting to show buttons. It's not correct behaviour.
Buttons shouldn't be shown if user removed button's label only.

To fix it - replace:

  if(variable_get('multistep_button_prev', '')) {

with:

  if(variable_get('multistep_button_prev', '< Previous')) {

and replace:

if (variable_get('multistep_button_save', '')) {

with:

if (variable_get('multistep_button_save', 'Save')) {

Comments

vladsavitsky’s picture

Title: Some buttons (previous and save) » Some buttons (previous and save) is not shown by default
StatusFileSize
new823 bytes

This is a patch against a 6.x-1.4-dev

vladsavitsky’s picture

Title: Some buttons (previous and save) is not shown by default » Patch: some buttons (previous and save) is not shown by default

Changed subject

vkareh’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Patch (to be ported) » Fixed

Good catch with those! Thanks!
I committed the changes into the new development snapshot.

Status: Fixed » Closed (fixed)

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