MINOR reload the virtual page if you are looking at the current one on save. To prevent overwriting fields (from r98496)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99057 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-02-16 01:13:04 +00:00 committed by Sam Minnee
parent b05117bd68
commit 0eeb764f3c

View File

@ -181,6 +181,8 @@ class VirtualPage extends Page {
$this->updateImageTracking();
}
}
FormResponse::add("$('Form_EditForm').reloadIfSetTo($this->ID);");
}
/**