ResourceConfigForm: Add missing activity indicator

This commit is contained in:
Johannes Meyer 2015-08-28 11:00:03 +02:00
parent 6d77ade6ac
commit 68f5e1a3e3
1 changed files with 14 additions and 1 deletions

View File

@ -350,8 +350,21 @@ class ResourceConfigForm extends ConfigForm
'decorators' => array('ViewHelper')
)
);
$this->setAttrib('data-progress-element', 'resource-progress');
$this->addElement(
'note',
'resource-progress',
array(
'decorators' => array(
'ViewHelper',
array('Spinner', array('id' => 'resource-progress'))
)
)
);
$this->addDisplayGroup(
array('btn_submit', 'resource_validation'),
array('btn_submit', 'resource_validation', 'resource-progress'),
'submit_validation',
array(
'decorators' => array(