Added Security token

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44501 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-08 02:23:26 +00:00
parent 48a5a0e33c
commit e915307052

View File

@ -84,7 +84,7 @@ Object.extend(TableField.prototype,{
link.getAttribute("href"),
{
method: 'post',
postBody: 'ajax=1',
postBody: 'ajax=1' + ($('SecurityID') ? '&SecurityID=' + $('SecurityID').value : ''),
onComplete: function(response){
if(response.responseText == "1"){
Effect.Fade(