1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-11 09:14:58 +02:00
This commit is contained in:
Ryan Cramer
2017-06-22 06:38:40 -04:00
parent 68a4ddee88
commit 571266c6c1

View File

@@ -773,11 +773,13 @@ class ProcessPageAdd extends Process implements ConfigurableModule, WirePageEdit
$field->setSecondary(); $field->setSecondary();
$form->append($field); $form->append($field);
$field = $this->modules->get('InputfieldSubmit'); if(!$this->wire('input')->get('modal')) {
$field->attr('id+name', 'submit_publish_add'); $field = $this->modules->get('InputfieldSubmit');
$field->attr('value', $this->_('Save + Publish + Add Another')); $field->attr('id+name', 'submit_publish_add');
$field->setSecondary(); $field->attr('value', $this->_('Save + Publish + Add Another'));
$form->append($field); $field->setSecondary();
$form->append($field);
}
} }
} }