Skip to content

Commit

Permalink
Get rid of the expando caret in front of empty folders
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jan 6, 2011
1 parent aebcd44 commit 2167168
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/organize/controllers/organize.php
Expand Up @@ -161,9 +161,9 @@ private function _get_tree($item, $selected) {
"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");

Expand Down
4 changes: 4 additions & 0 deletions modules/organize/css/organize.css
Expand Up @@ -73,6 +73,10 @@
line-height: 20px;
}

.g-organize .x-tree-node-leaf .x-tree-node-icon{
background-image:url(../vendor/ext/images/default/tree/folder.gif);
}

.loading div {
font-size: 1.1em;
padding-left: 24px;
Expand Down

0 comments on commit 2167168

Please sign in to comment.