Skip to content

Commit 53592db

Browse files
authored
Updated onChangeClientScript.js
removed location and added department field instead
1 parent 6a5f90a commit 53592db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client-Side Components/Catalog Client Script/Autopopulate user information fields/onChangeClientScript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function onChange(control, oldValue, newValue, isLoading) {
1616
function updateUserFields(response) {
1717
var returnedData = JSON.parse(response);
1818
g_form.setValue("email", returnedData.email);
19-
g_form.setValue("location", returnedData.location);
19+
g_form.setValue("department", returnedData.department);
2020
g_form.setValue("title", returnedData.title);
2121
g_form.setValue("phone", returnedData.phone);
2222
}

0 commit comments

Comments
 (0)