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:
parent
e515bca74f
commit
c3c04c0157
|
@ -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};
|
||||
|
|
Reference in New Issue