reset scratch variable after edit

This commit is contained in:
Len Kranendonk 2004-07-28 09:01:15 +00:00
parent abb8dde6c8
commit 6c860625a2

View file

@ -165,6 +165,14 @@ sub www_edit {
);
}
#-------------------------------------------------------------------
sub www_editSave {
$_[0]->SUPER::www_editSave(); # This will do the priv check as well.
my $scratchId = "WobjectProxy_" . $_[0]->get("wobjectId");
WebGUI::Session::deleteAllScratch($scratchId);
return "";
}
#-------------------------------------------------------------------
sub _drawQueryBuilder {
# Initialize operators