[BUGFIX] Drag&Drop inside the root page of the pagetree isn't possible
authorStefan Galinski <stefan.galinski@gmail.com>
Thu, 28 Jun 2012 08:25:05 +0000 (10:25 +0200)
committerErnesto Baschny <ernst@cron-it.de>
Thu, 12 Jul 2012 07:26:36 +0000 (09:26 +0200)
commitfe76723a8a175508f198c228144888f14ae826b8
treeb8ff62b825aa023a49ebac7045ec34307544e050
parenteb215bac8da1153f2fc442311b9df3e199345cd0
[BUGFIX] Drag&Drop inside the root page of the pagetree isn't possible

In case there is no page (except the root page) within TYPO3, you can't
use the drag and drop functionality in the page tree to create the first
page.

Change-Id: I4f4aed78916f1ab0ebf9bbc1baad2b2743e9d1b2
Fixes: #24626
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12437
Reviewed-by: Christian Kuhn
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
t3lib/js/extjs/components/pagetree/javascript/tree.js
t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php
tests/t3lib/tree/pagetree/t3lib_tree_pagetree_dataproviderTest.php [new file with mode: 0644]