Wizard: Use a single spinner for all submit buttons

refs #8369
This commit is contained in:
Johannes Meyer 2015-08-20 16:13:56 +02:00
parent 20f144bd4b
commit 32f8c0770c
1 changed files with 14 additions and 1 deletions

View File

@ -655,8 +655,21 @@ class Wizard
);
}
$page->setAttrib('data-progress-element', 'wizard-progress');
$page->addElement(
'note',
'progress',
array(
'order' => 99,
'decorators' => array(
'ViewHelper',
array('Spinner', array('id' => 'wizard-progress'))
)
)
);
$page->addDisplayGroup(
array(static::BTN_PREV, static::BTN_NEXT),
array(static::BTN_PREV, static::BTN_NEXT, 'progress'),
'buttons',
array(
'decorators' => array(