From 63799e0b0c45b89bdcd3fed6abd6dcc9b8b802c4 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 4 Aug 2015 14:26:31 -0500
Subject: [PATCH] client: Fix print stylesheet for new tickets

---
 assets/default/css/print.css | 2 +-
 include/client/open.inc.php  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/assets/default/css/print.css b/assets/default/css/print.css
index aca3d50f9..9ddb1f1cf 100644
--- a/assets/default/css/print.css
+++ b/assets/default/css/print.css
@@ -1 +1 @@
-#header,#nav,#meta,#footer,#reply,#pagination,.reload,.refresh,form,.thread,hr,#kbAttachments,.back{display:none}th{text-align:left}a{color:#000;text-decoration:none}caption{text-align:left;padding-bottom:10px;font-weight:bold}.message,.response{border-bottom:1px solid #000;margin-bottom:20px;padding-bottom:10px}.message th,.response th{font-size:12pt;font-weight:bold;padding-bottom:5px}
\ No newline at end of file
+#header,#nav,#meta,#footer,#reply,#pagination,.reload,.refresh,.redactor-toolbar,.filedrop .dropzone,.back,#loading,.buttons{display:none}th{text-align:left}a{color:#000;text-decoration:none}caption{text-align:left;padding-bottom:10px;font-weight:bold}.message,.response{border-bottom:1px solid #000;margin-bottom:20px;padding-bottom:10px}.message th,.response th{font-size:12pt;font-weight:bold;padding-bottom:5px}
diff --git a/include/client/open.inc.php b/include/client/open.inc.php
index 30013531f..ef1cb2988 100644
--- a/include/client/open.inc.php
+++ b/include/client/open.inc.php
@@ -109,7 +109,7 @@ if ($info['topicId'] && ($topic=Topic::lookup($info['topicId']))) {
     </tbody>
   </table>
 <hr/>
-  <p style="text-align:center;">
+  <p class="buttons" style="text-align:center;">
         <input type="submit" value="<?php echo __('Create Ticket');?>">
         <input type="reset" name="reset" value="<?php echo __('Reset');?>">
         <input type="button" name="cancel" value="<?php echo __('Cancel'); ?>" onclick="javascript:
-- 
GitLab