Topic: Frontend change of password

Hi,
the change of password doesn't work in the frontend.
A friend of mine looked this up and found a solution:

The button has id "submit", so he is adressable via document.formname.submit, the function submit so will be overwritten. Instead the Button needs to habe another ID.

my friends solution:

File components/com_user/user.html.php in row 67 gets another ID:

<input id="submit" class="button" type="button" value="<?php echo $submitvalue; ?>" />
=>
<input id="submitbutton" class="button" type="button" value="<?php echo $submitvalue; ?>" />

and in row 100 use the new ID:

YAHOO.util.Event.addListener("submit", "click", function() {
=>
YAHOO.util.Event.addListener("submitbutton", "click", function() {

Hope this helps, it did the work for me.
wink

Last edited by baerdel (2009-01-29 07:48:07)

Edward Abbey: "When the situation is hopeless, it's too late to be serious, be playful...."

Re: Frontend change of password

thanks for the report baerdel, we are looking into this now.