Announcement

  •  » Engine
  •  » release 2.0.4 under preparation

#31 2009-10-15 21:52:43

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: release 2.0.4 under preparation

P@t wrote:

jQuery().ready( function() {
  jQuery("form[name='add_user']").submit( function () {
    jQuery("input[name='password']").attr("type", "password"); 
  });
});

Admin can see password text... but when you hit vadilate button, input text become password input for browser...

P@t, i'm a "little bit" (no, extremly !) short with jQuery. I dont't understand where to include this code. Could you explain me, please? It's a good start to learn about it, isn't it ?

Offline

 

#32 2009-10-16 00:17:32

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: release 2.0.4 under preparation

Eric wrote:

P@t, i'm a "little bit" (no, extremly !) short with jQuery. I dont't understand where to include this code. Could you explain me, please? It's a good start to learn about it, isn't it ?

You put it on user_list.tpl, but.... in fact, it doesn't work... input type can't be changed...
I try another solution....

Last edited by P@t (2009-10-16 00:17:45)


P@t

Offline

 
  •  » Engine
  •  » release 2.0.4 under preparation

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact