summaryrefslogtreecommitdiffstats
path: root/public_html
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-03-14 10:00:10 +0100
committerAleksander Machniak <alec@alec.pl>2012-03-14 10:00:10 +0100
commitfa7994160bb410c1e8f35a0e91883b43b2ab9cfa (patch)
tree50ea974df3ef8fc7f0c3f227ebb8b850adaacd26 /public_html
parent74a8a69bde41236851c099fd87cfd1e84e7acce6 (diff)
downloadwebadmin-fa7994160bb410c1e8f35a0e91883b43b2ab9cfa.tar.gz
Unified form_value.generate API method (#625)
Diffstat (limited to 'public_html')
-rw-r--r--public_html/js/kolab_admin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public_html/js/kolab_admin.js b/public_html/js/kolab_admin.js
index 29801ef..d0c7361 100644
--- a/public_html/js/kolab_admin.js
+++ b/public_html/js/kolab_admin.js
@@ -451,14 +451,14 @@ function kolab_admin()
if (!e)
continue;
- data = {user_type_id: type_id};
+ data = {user_type_id: type_id, attribute: name};
for (j=0; j<e.data.length; j++) {
elem_name = e.data[j];
if (elem = $('[name="'+elem_name+'"]', form))
data[elem_name] = elem.val();
}
- this.api_post('form_value.generate_'+name, data, 'form_value_response');
+ this.api_post('form_value.generate', data, 'form_value_response');
}
this.set_busy(false);