diff --git a/scp/js/ticket.js b/scp/js/ticket.js index 2913c225cf0579f3587442831a135bb3464b53f8..a51bdf797c99b618abd36032520c88013d20544b 100644 --- a/scp/js/ticket.js +++ b/scp/js/ticket.js @@ -316,26 +316,17 @@ jQuery(function($) { } } }); - - //Ticket print options - $("#print-options").css({ - top : ($(window).height() /5), - left : ($(window).width() / 2 - 300) - }); + //Start watching the form for activity. + autoLock.Init(); + + /*** Ticket Actions **/ + //print options $('a#ticket-print').click(function(e) { e.preventDefault(); $('#overlay').show(); - $('#print-options').show(); + $('.dialog#print-options').show(); return false; }); - $('#print-options').delegate('a.close, input.close', 'click', function(e) { - e.preventDefault(); - $('#print-options').hide() - $('#overlay').hide(); - }); - - //Start watching the form for activity. - autoLock.Init(); });