Show a form based autosubmit warning when toggling object features

refs #7935
This commit is contained in:
Johannes Meyer 2015-03-03 14:52:45 +01:00
parent 8510835fba
commit 507e5b43cc
2 changed files with 7 additions and 0 deletions

View File

@ -18,7 +18,10 @@ class ToggleObjectFeaturesCommandForm extends ObjectsCommandForm
*/
public function init()
{
$this->setUseFormAutosubmit();
$this->setTitle('Feature Commands');
$this->setAttrib('class', 'inline object-features');
$this->loadDefaultDecorators()->getDecorator('description')->setTag('h4');
}
/**

View File

@ -170,6 +170,10 @@ form.instance-features span.description, form.object-features span.description {
}
}
table.avp form.object-features div.header h4 {
margin: 0;
}
table.avp .customvar ul {
list-style-type: none;
margin: 0;