Closed N6REJ closed 9 years ago
it is the same functionality as the default template, it clears any changes back to original data without refreshing the page.
However if you want to redirect it back to clientarea.php, do the following
Open clientareadetails.tpl FIND
<input class="btn btn-danger" type="reset" value="{$LANG.cancel}" />
REPLACE WITH
<input class="btn btn-danger" type="reset" value="{$LANG.cancel}" onclick="window.location='clientarea.php'" />
As stated above, it works per original and reverts modified fields to default.
when you are editing a users profile, such as https://jowwow.net/hosting/clientarea.php?action=details and you attempt to "cancel" the edit, nothing happens, there is no screen refresh and you are not taken out of the profile edit screen.