BUGFIX TableField delete row inconsistency with TableListField which caused table fields to not fade the row out

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65141 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-11-03 05:00:43 +00:00
parent 1817fc6051
commit 6ef535d6ce

View File

@ -84,7 +84,6 @@ TableField.prototype = {
method: 'post', method: 'post',
postBody: 'ajax=1' + ($('SecurityID') ? '&SecurityID=' + $('SecurityID').value : ''), postBody: 'ajax=1' + ($('SecurityID') ? '&SecurityID=' + $('SecurityID').value : ''),
onComplete: function(response){ onComplete: function(response){
if(response.responseText == "1"){
Effect.Fade( Effect.Fade(
row, row,
{ {
@ -99,7 +98,6 @@ TableField.prototype = {
}.bind(this) }.bind(this)
} }
); );
}
}.bind(this), }.bind(this),
onFailure: ajaxErrorHandler onFailure: ajaxErrorHandler
} }