BUGFIX: Fix incorrect URL when adding a new Member via the MemberTableField

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@70750 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2009-01-26 21:51:00 +00:00 committed by Sam Minnee
parent efbdaf7b2e
commit aba473608b

View File

@ -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);
}