summaryrefslogtreecommitdiff
path: root/modules/organize/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-01-04 22:21:02 -0800
committerBharat Mediratta <bharat@menalto.com>2011-01-04 22:21:02 -0800
commit3a11e0d825d1f7d2698bd5c7b6b812236c7626a3 (patch)
tree4788b2251b398320f81428d417486cce028fd6ce /modules/organize/controllers
parentbd5e71ba6a84b4cda484bb4e4a8a77889bb0a02d (diff)
This was left out of 31652eae44bdd93b45d965a8288a3069e37d1934.
Diffstat (limited to 'modules/organize/controllers')
-rw-r--r--modules/organize/controllers/organize.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php
index 35e4cd66..18e6054b 100644
--- a/modules/organize/controllers/organize.php
+++ b/modules/organize/controllers/organize.php
@@ -153,7 +153,8 @@ class Organize_Controller extends Controller {
->as_array();
foreach ($children as $child) {
$node = array(
- "allowChildren" => true,
+ "allowDrag" => false,
+ "allowDrop" => access::can("edit", $child),
"editable" => false,
"expandable" => true,
"id" => $child->id,