Commit 876ee0a3 authored by Dries's avatar Dries

Issue #2003440 by iStryker: Change the location of the save button.

parent a317b3ef
......@@ -104,7 +104,6 @@
*/
.form-edit .form-actions {
float: right; /* LTR */
}
.views-displays {
......
......@@ -316,23 +316,6 @@ public function cancel(array $form, array &$form_state) {
$form_state['redirect'] = 'admin/structure/views';
}
/**
* Overrides Drupal\Core\Entity\EntityFormController::actionsElement().
*/
protected function actionsElement(array $form, array &$form_state) {
$element = parent::actionsElement($form, $form_state);
$element['#weight'] = 0;
$view = $this->entity;
if (empty($view->changed)) {
$element['#attributes'] = array(
'class' => array(
'js-hide',
),
);
}
return $element;
}
/**
* Returns a renderable array representing the edit page for one display.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment