From fe72e7501aba0a0e90e8f138af108aa449b86fef Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Mon, 8 Oct 2012 18:35:29 -0400 Subject: [PATCH] use the new dialog css class --- include/staff/ticket-view.inc.php | 4 ++-- include/staff/tickets.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php index ac494f0aa..6b3ca648e 100644 --- a/include/staff/ticket-view.inc.php +++ b/include/staff/ticket-view.inc.php @@ -59,7 +59,7 @@ if($ticket->isOverdue()) <?php if($thisstaff->canEditTickets()) { ?> <a class="action-button" href="tickets.php?id=<?php echo $ticket->getId(); ?>&a=edit"><i class="icon-pencil"></i> Edit</a> <?php } ?> - <a class="action-button" href="tickets.php?id=<?php echo $ticket->getId(); ?>"><i class="icon-print"></i> Print</a> + <a id="ticket-print" class="action-button" href="tickets.php?id=<?php echo $ticket->getId(); ?>&a=print"><i class="icon-print"></i> Print</a> <div id="action-dropdown-1" class="action-dropdown anchor-right"> <ul> @@ -642,7 +642,7 @@ if(!$cfg->showNotesInline()) { ?> <?php } ?> </div> -<div style="display:none;" id="print-options"> +<div style="display:none;" class="dialog" id="print-options"> <h3>Ticket Print Options</h3> <a class="close" href="">×</a> <hr/> diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php index cbe8a6a98..7f0403092 100644 --- a/include/staff/tickets.inc.php +++ b/include/staff/tickets.inc.php @@ -470,8 +470,8 @@ $negorder=$order=='DESC'?'ASC':'DESC'; //Negate the sorting.. } ?> </form> </div> -<div id="search_overlay"></div> -<div style="display:none;" id="advanced-search"> + +<div class="dialog" style="display:none;" id="advanced-search"> <h3>Advanced Ticket Search</h3> <a class="close" href="">×</a> <form action="tickets.php" method="post" id="search" name="search"> -- GitLab