From ee49d36dd7393edad155a51cd0472dc1c44bd6e2 Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Sun, 13 Dec 2009 22:55:10 +0000 Subject: [PATCH] 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 --- code/LeftAndMain.php | 1 - 1 file changed, 1 deletion(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index f95d96e8..df890236 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -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);