summaryrefslogtreecommitdiffstats
path: root/install/static/user.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/user.js')
-rw-r--r--install/static/user.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/install/static/user.js b/install/static/user.js
index a0087e278..dca999a1a 100644
--- a/install/static/user.js
+++ b/install/static/user.js
@@ -83,16 +83,18 @@ var userAddProperties = [
{title: 'First Name', id: 'firstname', type:'text'},
{title: 'Last Name', id: 'lastname', type:'text'}
];
+
var userBuilder =
new EntityBuilder(
"user",
- userAddProperties,
- function(){
- var options = { givenname: $("#firstname").val(),
- sn: $("#lastname").val()};
- return options;
- });
+ userAddProperties);
+userBuilder.getOptions = function() {
+ var options = {
+ givenname: $("#firstname").val(),
+ sn: $("#lastname").val()};
+ return options;
+}
var userFacets = ["details","group", "groupmembership"];