BUGFIX: Fixed reloading of TableFields after ajax save. (http://mingle.silverstripe.com/projects/air_nz_cms_enhancements/cards/154) (from r88921)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96427 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-01-06 22:50:54 +00:00
parent 7d4d6a1c37
commit 57e8693dc9

View File

@ -298,6 +298,7 @@ class TableField extends TableListField {
} }
// Update the internal source items cache // Update the internal source items cache
$this->value = null;
$items = $this->sourceItems(); $items = $this->sourceItems();
FormResponse::update_dom_id($this->id(), $this->FieldHolder()); FormResponse::update_dom_id($this->id(), $this->FieldHolder());