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($saveButton);
|
||||||
$leftButtonGroup->addElement(new htmlSpacer('1px', null));
|
$leftButtonGroup->addElement(new htmlSpacer('1px', null));
|
||||||
// reset button
|
// reset button
|
||||||
$resetButton = new htmlButton('accountContainerReset', _('Reset changes'));
|
if (!$this->isNewAccount) {
|
||||||
$resetButton->setIconClass('undoButton');
|
$resetButton = new htmlButton('accountContainerReset', _('Reset changes'));
|
||||||
$leftButtonGroup->addElement($resetButton);
|
$resetButton->setIconClass('undoButton');
|
||||||
|
$leftButtonGroup->addElement($resetButton);
|
||||||
|
}
|
||||||
// set password button
|
// set password button
|
||||||
if ($this->showSetPasswordButton()) {
|
if ($this->showSetPasswordButton()) {
|
||||||
$leftButtonGroup->addElement(new htmlSpacer('15px', null));
|
$leftButtonGroup->addElement(new htmlSpacer('15px', null));
|
||||||
|
|
Loading…
Reference in New Issue