[open-ils-commits] r16933 - trunk/Open-ILS/xul/staff_client/server/cat (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jul 14 15:42:01 EDT 2010


Author: dbs
Date: 2010-07-14 15:41:56 -0400 (Wed, 14 Jul 2010)
New Revision: 16933

Modified:
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.css
   trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
Log:
CSS makes things visible, or not. Display the nascent MFHD fixed-field editor.


Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.css
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.css	2010-07-14 18:55:05 UTC (rev 16932)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.css	2010-07-14 19:41:56 UTC (rev 16933)
@@ -95,4 +95,8 @@
     visibility: visible;
 }
 
+grid#leaderGrid[type="MFHD"] *[set~="MFHD"], grid#leaderGrid[type="MFHD"] *[set~="MFHD"] + textbox {
+    visibility: visible;
+}
+
 grid[name="-none-"] * label { color: black; }

Modified: trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2010-07-14 18:55:05 UTC (rev 16932)
+++ trunk/Open-ILS/xul/staff_client/server/cat/marcedit.xul	2010-07-14 19:41:56 UTC (rev 16933)
@@ -78,9 +78,9 @@
                     </columns>
                     <rows>
                         <row>
-                            <label name="Type" control="Type_tb" set="BKS SER VIS MIX MAP SCO REC COM MFHD" value="Type" />
+                            <label name="Type" control="Type_tb" set="BKS SER VIS MIX MAP SCO REC COM" value="Type" />
                             <textbox id="Type_tb" context="clipboard" class="plain" name="Type" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
-                            <label name="ELvl" control="ELvl_tb" set="BKS SER VIS MIX MAP SCO REC COM MFHD" value="ELvl" />
+                            <label name="ELvl" control="ELvl_tb" set="BKS SER VIS MIX MAP SCO REC COM" value="ELvl" />
                             <textbox id="Elvl_tb" context="clipboard" class="plain" name="ELvl" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
                             <label name="Srce" control="Srce_tb" set="BKS SER VIS MIX MAP SCO REC COM" value="Srce" />
                             <textbox id="Srce_tb" context="clipboard" class="plain" name="Srce" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
@@ -178,9 +178,15 @@
                             <textbox id="Tech_tb" context="clipboard" class="plain" name="Tech" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
                             <label name="File" control="File_tb" set="COM" value="File" />
                             <textbox id="File_tb" context="clipboard" class="plain" name="File" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
-                            <label name="Item" control="Item_tb" set="MFHD" value="Item" />
-                            <textbox id="Item_tb" context="clipboard" class="plain" name="Item" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
                         </row>
+                        <row>
+                            <label name="Type" control="Type_tbmfhd" set="MFHD" value="Type" />
+                            <textbox id="Type_tbmfhd" context="clipboard" class="plain" name="Type" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
+                            <label name="ELvl" control="ELvl_tbmfhd" set="MFHD" value="ELvl" />
+                            <textbox id="Elvl_tbmfhd" context="clipboard" class="plain" name="ELvl" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
+                            <label name="Item" control="Item_tbmfhd" set="MFHD" value="Item" />
+                            <textbox id="Item_tbmfhd" context="clipboard" class="plain" name="Item" maxlength="1" size="1" oninput="updateFixedFields(this);" onfocus="this.select();"/>
+                        </row>
                     </rows>
                 </grid>
             </vbox>



More information about the open-ils-commits mailing list