From 2167168f5112fe9337c544578baa51cc5aed7652 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 5 Jan 2011 22:32:33 -0800 Subject: Get rid of the expando caret in front of empty folders --- modules/organize/controllers/organize.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/organize/controllers') diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index c23d6d61..2ded8a2e 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -161,9 +161,9 @@ class Organize_Controller extends Controller { "allowDrag" => false, "allowDrop" => access::can("edit", $child), "editable" => false, - "expandable" => true, + "expandable" => false, "id" => $child->id, - "leaf" => false, + "leaf" => $child->children_count(array(array("type", "=", "album"))) == 0, "text" => $child->title, "nodeType" => "async"); -- cgit v1.2.3