diff --git a/javascript/MemberTableField.js b/javascript/MemberTableField.js index f54a6cab..3a9196fa 100755 --- a/javascript/MemberTableField.js +++ b/javascript/MemberTableField.js @@ -131,8 +131,8 @@ MemberTableField.prototype = { updateURL = ""; updateURL += Event.findElement(e,"form").action; // we can't set "fieldName" as a HiddenField because there might be multiple ComplexTableFields in a single EditForm-container - updateURL += "&fieldName="+$('MemberFieldName').value; - updateURL += "&action_callfieldmethod&&methodName=addtogroup&"; + updateURL += "?fieldName="+$('MemberFieldName').value; + updateURL += "&action_callfieldmethod&methodName=addtogroup"; ajaxSubmitFieldSet(updateURL, data); } @@ -276,4 +276,4 @@ MemberFilterButton.prototype = { // has to be external from initialize() because otherwise request will double on each reload - WTF Behaviour.register({ '#Form_EditForm div.MemberTableField table.data input' : AjaxMemberLookup -}); \ No newline at end of file +});