MINOR remove relic of concurrent editing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95070 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Tom Rix 2009-12-13 22:55:10 +00:00 committed by Sam Minnee
parent 34c1943a26
commit ee49d36dd7

View File

@ -977,7 +977,6 @@ JS;
DataObject::delete_by_id($this->stat('tree_class'), $id);
$script .= "node = st.getTreeNodeByIdx($id); if(node) node.parentTreeNode.removeTreeNode(node); $('Form_EditForm').closeIfSetTo($id); \n";
if ($id == $this->currentPageID()) FormResponse::add('CurrentPage.isDeleted = 1;');
}
}
FormResponse::add($script);