Skip to content

Commit

Permalink
Rename gAlbumText to gOrganizeAlbumText for consistency since this is
Browse files Browse the repository at this point in the history
an organize-only construct.
  • Loading branch information
bharat committed Aug 30, 2009
1 parent a498d37 commit 5cce88c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modules/organize/css/organize.css
Expand Up @@ -47,7 +47,7 @@
padding-left: 1.2em;
}

.gAlbumText:hover {
.gOrganizeAlbumText:hover {
border: 1px dashed #999;
padding: 1px;
}
Expand All @@ -63,7 +63,7 @@
cursor: pointer;
}

.gAlbumText {
.gOrganizeAlbumText {
cursor: pointer;
width: auto;
}
Expand Down
4 changes: 2 additions & 2 deletions modules/organize/js/organize.js
Expand Up @@ -158,7 +158,7 @@
$(".gMicroThumbGridCell").draggable($.organize.micro_thumb_draggable);
$(".gMicroThumbGridCell").mousemove($.organize.mouse_move_handler);
$(".gOrganizeAlbum").droppable($.organize.branch_droppable);
$(".gAlbumText").click($.organize.show_album);
$(".gOrganizeAlbumText").click($.organize.show_album);
$("#gOrganizeAlbumTree .ui-icon-plus,#gOrganizeAlbumTree .ui-icon-minus").click($.organize.toggle_branch);
},

Expand Down Expand Up @@ -203,7 +203,7 @@
$("#gMicroThumbPanel").selectable("destroy");
var id = $(event.currentTarget).attr("ref");
$("#gOrganizeAlbumTree .selected").removeClass("selected");
$(".gAlbumText[ref=" + id + "]").addClass("selected");
$(".gOrganizeAlbumText[ref=" + id + "]").addClass("selected");
var url = $("#gMicroThumbPanel").attr("ref").replace("__ITEM_ID__", id).replace("__OFFSET__", 0);
$.get(url, {},
function(data) {
Expand Down
4 changes: 2 additions & 2 deletions modules/organize/views/organize_tree.html.php
Expand Up @@ -3,7 +3,7 @@
ref="<?= $album->id ?>">
<span class="ui-icon ui-icon-minus">
</span>
<span class="gAlbumText
<span class="gOrganizeAlbumText
<?= $selected && $album->id == $selected->id ? "selected" : "" ?>
"
ref="<?= $album->id ?>">
Expand All @@ -18,7 +18,7 @@
ref="<?= $child->id ?>">
<span class="ui-icon ui-icon-plus">
</span>
<span class="gAlbumText" ref="<?= $child->id ?>">
<span class="gOrganizeAlbumText" ref="<?= $child->id ?>">
<?= p::clean($child->title) ?>
</span>
</li>
Expand Down

0 comments on commit 5cce88c

Please sign in to comment.