diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-03 06:32:32 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-03 09:04:17 -0500 |
commit | a686f36906913ea0594f87cf3cc92b879d628301 (patch) | |
tree | 364cfc78c8b65ec64ea12800ec046578d45c8c5a /install | |
parent | afce50a3e4cf0d5f7f264ba7b5b36dba8bc100b5 (diff) | |
download | freeipa-a686f36906913ea0594f87cf3cc92b879d628301.tar.gz freeipa-a686f36906913ea0594f87cf3cc92b879d628301.tar.xz freeipa-a686f36906913ea0594f87cf3cc92b879d628301.zip |
Fixed section expand/collapse in user details.
The section names were missing from the entity definition.
Diffstat (limited to 'install')
-rw-r--r-- | install/ui/user.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/install/ui/user.js b/install/ui/user.js index 4caa0aea6..1ce95009f 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -46,15 +46,15 @@ IPA.entity_factories.user = function (){ column({name:'title'})). facet(IPA.details_facet(). section( - IPA.stanza({label:IPA.messages.details.identity}). - input({name:'title'}). - input({name:'givenname'}). - input({name:'sn'}). - input({name:'cn'}). - input({name:'displayname'}). - input({name:'initials'})). + IPA.stanza({name: 'identity', label: IPA.messages.details.identity}). + input({name:'title'}). + input({name:'givenname'}). + input({name:'sn'}). + input({name:'cn'}). + input({name:'displayname'}). + input({name:'initials'})). section( - IPA.stanza({label:IPA.messages.details.account}). + IPA.stanza({name: 'account', label: IPA.messages.details.account}). custom_input(user_status_widget({name:'nsaccountlock'})). input({name:'uid'}). input({name:'userpassword', load: user_password_load}). @@ -63,24 +63,24 @@ IPA.entity_factories.user = function (){ input({name:'loginshell'}). input({name:'homedirectory'})). section( - IPA.stanza({label:IPA.messages.details.contact}). + IPA.stanza({name: 'contact', label: IPA.messages.details.contact}). input({name:'mail'}). input({name:'telephonenumber'}). input({name:'pager'}). input({name:'mobile'}). input({name:'facsimiletelephonenumber'})). section( - IPA.stanza({label: IPA.messages.details.mailing}). + IPA.stanza({name: 'mailing', label: IPA.messages.details.mailing}). input({name:'street'}). input({name:'l',label:'City'}). input({name:'st',label:'State/Province'}). input({name:'postalcode'})). section( - IPA.stanza({label:IPA.messages.details.employee}). + IPA.stanza({name: 'employee', label: IPA.messages.details.employee}). input({name:'ou', label:'Org. Unit'}). input({name:'manager'})). section( - IPA.stanza({label:IPA.messages.details.misc}). + IPA.stanza({name: 'misc', label: IPA.messages.details.misc}). input({name:'carlicense'}))). standard_associations(). add_dialog( @@ -227,7 +227,7 @@ function user_password_load(result) { }); link.appendTo(dd); -}; +} var select_temp = '<select title="st"></select>'; var option_temp = '<option value="V">V</option>'; |