revert previous commit, radio name should be without :list (since z3c.form 2.6.0), z3c.formwidget.query needs to be fixed

This commit is contained in:
Vincent Fretin 2013-09-22 17:00:14 +02:00
parent e515bca74f
commit c3c04c0157
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ $(document).ready(function() {
function get_selected_organization(form) {
var view = serialize_form(form);
var token = view['oform.widgets.organization:list'];
var token = view['oform.widgets.organization'];
var title = form.find('#oform-widgets-organization-input-fields input[value="'+token+'"]').siblings('.label').find('a').first().text();
var path = '/' + token.split('/').slice(2).join('/');
return {token: token, title: title, path: path};