diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-11-04 15:13:08 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-11-04 15:13:08 -0400 |
commit | db758c92cd4865ae02c8da357ce5e850a060a4ad (patch) | |
tree | 96bd6a549725d0a5b78f4fc54d752cf94a5a9894 /install/static/user.js | |
parent | 7b296f2623610b0820a5553e2c570c6b3428c861 (diff) | |
parent | d99ebc0f3798c84e612c79c43eb85c31b20ab1ce (diff) | |
download | freeipa.git-db758c92cd4865ae02c8da357ce5e850a060a4ad.tar.gz freeipa.git-db758c92cd4865ae02c8da357ce5e850a060a4ad.tar.xz freeipa.git-db758c92cd4865ae02c8da357ce5e850a060a4ad.zip |
Merge branch 'master' of ssh://rcritten@git.fedorahosted.org/git/freeipa
Diffstat (limited to 'install/static/user.js')
-rw-r--r-- | install/static/user.js | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/install/static/user.js b/install/static/user.js index 5645967d..1b6054d7 100644 --- a/install/static/user.js +++ b/install/static/user.js @@ -151,8 +151,10 @@ function on_lock_win(data, textStatus, xhr) /* ATTRIBUTE CALLBACKS */ var toggle_temp = 'S <a href="jslink" onclick="return (toggle_on_click(this))" title="S">Toggle</a>'; -function user_status_load(container, dt, result) -{ +function user_status_load(container, result) { + var dt = $('dt[title='+this.name+']', container); + if (!dt.length) return; + var memberof = result['memberof']; var dd; @@ -223,8 +225,10 @@ function resetpwd_on_click(){ return false; } -function user_password_load(container, dt, result) -{ +function user_password_load(container, result) { + var dt = $('dt[title='+this.name+']', container); + if (!dt.length) return; + dt.after(ipa_create_first_dd( this.name, $('<a/>',{ @@ -245,8 +249,10 @@ var states = [ 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY', '' ]; -function user_state_load(container, dt, result) -{ +function user_state_load(container, result) { + var dt = $('dt[title='+this.name+']', container); + if (!dt.length) return; + var next = dt.next(); next.css('clear', 'none'); next.css('width', '70px'); |