summaryrefslogtreecommitdiff
path: root/core/js/quick.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/quick.js')
-rw-r--r--core/js/quick.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/js/quick.js b/core/js/quick.js
index 881c7656..a30694b5 100644
--- a/core/js/quick.js
+++ b/core/js/quick.js
@@ -1,7 +1,6 @@
$(document).ready(function() {
if ($("#gAlbumGrid").length) {
// @todo Add quick edit pane for album (meta, move, permissions, delete)
- //$("#gInfo").hover(show_quick, function() {});
$(".gItem").hover(show_quick, function() {});
}
if ($("#gItem").length) {
@@ -29,10 +28,14 @@ var show_quick = function() {
{},
function(data, textStatus) {
$("#gQuickPane").html(data).slideDown("fast");
- $("#gQuickPane a").click(function(e) {
+ $("#gQuickPane a:not(.options)").click(function(e) {
e.preventDefault();
quick_do(cont, $(this), img);
});
+ $("#gQuickPane a.options").click(function(e) {
+ e.preventDefault();
+ $("#gQuickPaneOptions").slideToggle("fast");
+ });
}
);
};