diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-08-30 14:50:53 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-30 14:50:53 -0700 |
commit | 5cce88cd040fe33ee0f7037e0b045792d60ed9d8 (patch) | |
tree | 22274ad35f5206626cda9ac6f1b69da309758847 | |
parent | a498d3776365b6d0d14ce07a4ccd564f41b7f7be (diff) |
Rename gAlbumText to gOrganizeAlbumText for consistency since this is
an organize-only construct.
-rw-r--r-- | modules/organize/css/organize.css | 4 | ||||
-rw-r--r-- | modules/organize/js/organize.js | 4 | ||||
-rw-r--r-- | modules/organize/views/organize_tree.html.php | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/modules/organize/css/organize.css b/modules/organize/css/organize.css index cbd1e138..3a8a6412 100644 --- a/modules/organize/css/organize.css +++ b/modules/organize/css/organize.css @@ -47,7 +47,7 @@ padding-left: 1.2em; } -.gAlbumText:hover { +.gOrganizeAlbumText:hover { border: 1px dashed #999; padding: 1px; } @@ -63,7 +63,7 @@ cursor: pointer; } -.gAlbumText { +.gOrganizeAlbumText { cursor: pointer; width: auto; } diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js index 3dbd0c89..ad14a99e 100644 --- a/modules/organize/js/organize.js +++ b/modules/organize/js/organize.js @@ -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); }, @@ -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) { diff --git a/modules/organize/views/organize_tree.html.php b/modules/organize/views/organize_tree.html.php index 59f683ef..58621c3c 100644 --- a/modules/organize/views/organize_tree.html.php +++ b/modules/organize/views/organize_tree.html.php @@ -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 ?>"> @@ -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> |