rem: form.admin.checked = administrator; 
add: form.admin.checked = user.administrator; 
context:         populateFields : function(populateUsername){            // username only needed if logged in as administrator            var self = this;            var handlerDict = {                handle: function(type, data, evt){                    if (evt.status == 200){                        var cmpXml = evt.responseXML                        var user = cmpXml.getElementsByTagName("user")[0]                        var firstName = user.getElementsByTagName("firstName")[0].firstChild.nodeValue                        var lastName = user.getElementsByTagName("lastName")[0].firstChild.nodeValue                        var username = user.getElementsByTagName("username")[0].firstChild.nodeValue                        var email = user.getElementsByTagName("email")[0].firstChild.nodeValue                        var dateCreated = user.getElementsByTagName("created")[0].firstChild.nodeValue                        var dateModified = user.getElementsByTagName("modified")[0].firstChild.nodeValue                        var administrator = (user.getElementsByTagName("administrator").length > 0)                        self.editingUsername = username                        form = self.form;                        form.username.value = username;                        form.firstName.value = firstName;                        form.lastName.value = lastName;                        form.email.value = email;                        form.admin.checked = administrator;                        overlord = (username == cosmo.env.OVERLORD_USERNAME)                        form.username.disabled = overlord;                        form.firstName.disabled = overlord;                        form.lastName.disabled = overlord;                        form.admin.disabled = overlord;                    } else if (evt.status == 404){                        alert("User does not exist");                    }                }            }            if (populateUsername){                   cosmo.cmp.cmpProxy.getUser(populateUsername, handlerDict);            } else {                cosmo.cmp.cmpProxy.getAccount(handlerDict);            }        },
meta: 1859	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1859/56d000d3144a5729f56ebad5d4e7a897953937be/ModifyUserDialog.js/buggy/src/webapp/js/cosmo/ui/widget/ModifyUserDialog.js