PreferenceForm: Add missing activity indicator

refs #8369
This commit is contained in:
Johannes Meyer 2015-08-24 12:47:34 +02:00
parent 0f23e5d0ae
commit b9252010b3
1 changed files with 13 additions and 1 deletions

View File

@ -220,8 +220,20 @@ class PreferenceForm extends Form
)
);
$this->setAttrib('data-progress-element', 'preferences-progress');
$this->addElement(
'note',
'preferences-progress',
array(
'decorators' => array(
'ViewHelper',
array('Spinner', array('id' => 'preferences-progress'))
)
)
);
$this->addDisplayGroup(
array('btn_submit_preferences', 'btn_submit_session'),
array('btn_submit_preferences', 'btn_submit_session', 'preferences-progress'),
'submit_buttons',
array(
'decorators' => array(