File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 8
8
</@markup >
9
9
10
10
<@markup id="custom-guest-password-link" target="buttons" action="after" scope="global" >
11
- <a id =" link-forgotPass" href =" #" >${msg("link.forgotPass") } </a >
12
- </@markup >
11
+ <@uniqueIdDiv >
12
+ <#assign el=args.htmlid?html >
13
+ <a id =" ${el}-link" href =" #" >${msg("link.forgotPass") } </a >
14
+ </@uniqueIdDiv >
15
+ </@markup >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ if (typeof Extras === undefined || !Extras) {
22
22
23
23
onReady : function RPD_onReady ( ) {
24
24
// .. hook up or lost password link event handler code
25
- YAHOO . util . Event . addListener ( "link-forgotPass ", "click" , function ( e ) {
25
+ YAHOO . util . Event . addListener ( this . id + "-link ", "click" , function ( e ) {
26
26
var actionUrl = Alfresco . constants . PROXY_URI_RELATIVE . replace ( "/alfresco/" , "/alfresco-noauth/" ) + "extras/modules/reset-user-password" ;
27
27
YAHOO . util . Event . stopEvent ( e ) ;
28
28
if ( ! this . resetPasswordDialog ) {
You can’t perform that action at this time.
0 commit comments