Apply hover effect to dialog buttons.

This commit is contained in:
Chad Kieffer 2009-08-29 17:32:34 -06:00
parent 60cfa54b82
commit 75ee962c9e

View File

@ -76,6 +76,7 @@
var eCancel = '<a href="#" class="gCancel">' + MSG_CANCEL + '</a>';
if ($("#gDialog .submit").length) {
$("#gDialog .submit").addClass("ui-state-default ui-corner-all");
$.fn.gallery_hover_init();
$("#gDialog .submit").parent().append(eCancel);
$("#gDialog .gCancel").click(function(event) {
$("#gDialog").dialog("close");