diff --git a/application/forms/PreferenceForm.php b/application/forms/PreferenceForm.php index b329ae1d4..84a0f40bd 100644 --- a/application/forms/PreferenceForm.php +++ b/application/forms/PreferenceForm.php @@ -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(