mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
efbdaf7b2e
commit
aba473608b
@ -131,8 +131,8 @@ MemberTableField.prototype = {
|
|||||||
updateURL = "";
|
updateURL = "";
|
||||||
updateURL += Event.findElement(e,"form").action;
|
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
|
// we can't set "fieldName" as a HiddenField because there might be multiple ComplexTableFields in a single EditForm-container
|
||||||
updateURL += "&fieldName="+$('MemberFieldName').value;
|
updateURL += "?fieldName="+$('MemberFieldName').value;
|
||||||
updateURL += "&action_callfieldmethod&&methodName=addtogroup&";
|
updateURL += "&action_callfieldmethod&methodName=addtogroup";
|
||||||
|
|
||||||
ajaxSubmitFieldSet(updateURL, data);
|
ajaxSubmitFieldSet(updateURL, data);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user