mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
34c1943a26
commit
ee49d36dd7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user