From: Jason Etheridge Date: Fri, 20 May 2011 09:30:55 +0000 (-0400) Subject: align the batch edit menus in the vol creator. mostly aesthetic, but can save horizo... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3ef152fdcf964d2d63ac09db2c771286d01c5e1b;p=evergreen%2Fpines.git align the batch edit menus in the vol creator. mostly aesthetic, but can save horizontal real estate, so usability as well for 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 dcaac78175..d9c2b2ce7a 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 @@ -417,15 +417,18 @@ g.render_callnumber_copy_count_entry = function(row,ou_id,count) { var classification_column_box = document.createElement('vbox'); classification_column_box.setAttribute('class','cn_class'); r.appendChild(classification_column_box); + classification_column_box.width = $('batch_class').parentNode.boxObject.width; /**** PREFIX COLUMN ****/ var prefix_column_box = document.createElement('vbox'); prefix_column_box.setAttribute('class','cn_prefix'); r.appendChild(prefix_column_box); + prefix_column_box.width = $('batch_prefix').parentNode.boxObject.width; /**** CALLNUMBER COLUMN ****/ var call_number_column_box = document.createElement('vbox'); r.appendChild(call_number_column_box); + call_number_column_box.width = $('marc_cn').parentNode.boxObject.width; var call_number_column_textbox = document.createElement('textbox'); call_number_column_box.appendChild(call_number_column_textbox); if (g.use_defaults && $('marc_cn').firstChild) { @@ -482,6 +485,7 @@ g.render_callnumber_copy_count_entry = function(row,ou_id,count) { var suffix_column_box = document.createElement('vbox'); suffix_column_box.setAttribute('class','cn_suffix'); r.appendChild(suffix_column_box); + suffix_column_box.width = $('batch_suffix').parentNode.boxObject.width; var suffix_column_menulist = g.render_suffix_menu(call_number_column_textbox); suffix_column_menulist.addEventListener( 'command', 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 f48695a07e..5cfc111c9b 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 @@ -49,24 +49,51 @@ - - -