From: Jason Etheridge Date: Fri, 20 May 2011 07:33:52 +0000 (-0400) Subject: css hooks so we can hide class, affix, and part columns in volume creator/editor... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=57a8c5a4a3d3a70eaeead510bc9a45a3deaf4d65;p=Evergreen.git css hooks so we can hide class, affix, and part columns in volume creator/editor. can help with screen real estate with the horizontal vol/copy editor Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index 1aea205c1d..7bc79c1a63 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -297,15 +297,18 @@ g.render_callnumber_copy_count_entry = function(row,ou_id,count) { var x = document.createElement('label'); r.appendChild(x); x.setAttribute('value', $("catStrings").getString('staff.cat.volume_copy_creator.render_callnumber_copy_count_entry.classification')); x.setAttribute('style','font-weight: bold'); + x.setAttribute('class','cn_class'); x = document.createElement('label'); r.appendChild(x); x.setAttribute('value', $("catStrings").getString('staff.cat.volume_copy_creator.render_callnumber_copy_count_entry.prefix')); x.setAttribute('style','font-weight: bold'); + x.setAttribute('class','cn_prefix'); x = document.createElement('label'); r.appendChild(x); x.setAttribute('value', $("catStrings").getString('staff.cat.volume_copy_creator.render_callnumber_copy_count_entry.call_nums')); x.setAttribute('style','font-weight: bold'); x = document.createElement('label'); r.appendChild(x); x.setAttribute('value', $("catStrings").getString('staff.cat.volume_copy_creator.render_callnumber_copy_count_entry.suffix')); x.setAttribute('style','font-weight: bold'); + x.setAttribute('class','cn_suffix'); x = document.createElement('label'); r.appendChild(x); x.setAttribute('value',$("catStrings").getString('staff.cat.volume_copy_creator.render_callnumber_copy_count_entry.num_of_copies')); x.setAttribute('style','font-weight: bold'); @@ -401,10 +404,12 @@ g.render_callnumber_copy_count_entry = function(row,ou_id,count) { /**** CLASSIFICATION COLUMN ****/ var classification_column_box = document.createElement('vbox'); + classification_column_box.setAttribute('class','cn_class'); r.appendChild(classification_column_box); /**** PREFIX COLUMN ****/ var prefix_column_box = document.createElement('vbox'); + prefix_column_box.setAttribute('class','cn_prefix'); r.appendChild(prefix_column_box); /**** CALLNUMBER COLUMN ****/ @@ -464,6 +469,7 @@ g.render_callnumber_copy_count_entry = function(row,ou_id,count) { /**** SUFFIX COLUMN ****/ var suffix_column_box = document.createElement('vbox'); + suffix_column_box.setAttribute('class','cn_suffix'); r.appendChild(suffix_column_box); var suffix_column_menulist = g.render_suffix_menu(call_number_column_textbox); suffix_column_menulist.addEventListener( @@ -664,6 +670,7 @@ g.render_barcode_entry = function(node,callnumber_composite_key,count,ou_id) { tb = document.createElement('textbox'); tb_part_box.appendChild(tb); part_menu = g.render_part_menu(tb); + part_menu.setAttribute('class','part_column'); tb_part_box.appendChild(part_menu); set_handlers = true; } else { diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul index 9e88c1ae68..0cbf65df34 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul @@ -50,15 +50,15 @@