no "Reset changes" for new accounts
This commit is contained in:
parent
150965e17e
commit
a7a0e18960
|
@ -1157,9 +1157,11 @@ class accountContainer {
|
|||
$leftButtonGroup->addElement($saveButton);
|
||||
$leftButtonGroup->addElement(new htmlSpacer('1px', null));
|
||||
// reset button
|
||||
if (!$this->isNewAccount) {
|
||||
$resetButton = new htmlButton('accountContainerReset', _('Reset changes'));
|
||||
$resetButton->setIconClass('undoButton');
|
||||
$leftButtonGroup->addElement($resetButton);
|
||||
}
|
||||
// set password button
|
||||
if ($this->showSetPasswordButton()) {
|
||||
$leftButtonGroup->addElement(new htmlSpacer('15px', null));
|
||||
|
|
Loading…
Reference in New Issue