From cce75ff48f4ca21677816106519f703f89649098 Mon Sep 17 00:00:00 2001
From: dbwells <dbwells@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Mon, 4 Apr 2011 19:45:56 +0000
Subject: [PATCH] More robust fix for edit highlighting in Serial Control View

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19980 dcc99617-32d9-48b4-a31d-7c20da2025e4
---
 Open-ILS/xul/staff_client/server/serial/editor_base.js   | 1 -
 Open-ILS/xul/staff_client/server/serial/serctrl_main.xul | 1 +
 Open-ILS/xul/staff_client/server/skin/serial.css         | 3 +++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Open-ILS/xul/staff_client/server/serial/editor_base.js b/Open-ILS/xul/staff_client/server/serial/editor_base.js
index 735d02d56e..efc08fd75f 100644
--- a/Open-ILS/xul/staff_client/server/serial/editor_base.js
+++ b/Open-ILS/xul/staff_client/server/serial/editor_base.js
@@ -353,7 +353,6 @@ serial.editor_base = {
                         }
                     }
                     if (typeof obj.changed[fn] != 'undefined') {
-                        groupbox.setAttribute('style','-moz-appearance: none');
                         groupbox.setAttribute('class','copy_editor_field_changed');
                     }
                     caption = document.createElement('caption'); groupbox.appendChild(caption);
diff --git a/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul b/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul
index 376f27ce3c..444879405a 100644
--- a/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul
+++ b/Open-ILS/xul/staff_client/server/serial/serctrl_main.xul
@@ -11,6 +11,7 @@ vim:noet:sw=4:ts=4:
 <?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
 <?xml-stylesheet href="/xul/server/skin/cat.css" type="text/css"?>
+<?xml-stylesheet href="/xul/server/skin/serial.css" type="text/css"?>
 
 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
 <!-- LOCALIZATION -->
diff --git a/Open-ILS/xul/staff_client/server/skin/serial.css b/Open-ILS/xul/staff_client/server/skin/serial.css
index b96bc9902d..504e6db543 100644
--- a/Open-ILS/xul/staff_client/server/skin/serial.css
+++ b/Open-ILS/xul/staff_client/server/skin/serial.css
@@ -20,6 +20,9 @@ checkbox:focus:not([label]) .checkbox-label-box {
     border: none;
 }
 .padded_bottom { padding-bottom: 10px; }
+groupbox {
+    -moz-appearance: none;
+}
 description#print_routing_desc { margin: 0; padding: 0 1em; }
 #pattern_wizard_main > vbox { padding: 0.5em 0; }
 #pattern_wizard_main { overflow: auto; }
-- 
2.11.0