cosmetic
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 17 Jan 2006 19:21:07 +0000 (19:21 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 17 Jan 2006 19:21:07 +0000 (19:21 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2739 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_editor.xul

index 19af088..3ea6a8b 100644 (file)
                        var rp = document.getElementById('right_pane');
                        util.widgets.remove_children( rp );
 
+                       var grid = util.widgets.make_grid( [ { 'flex' : '1' }, {} ] );
+                       cns.appendChild(grid);
                        for (var i in g.summary['Call Number']) {
                                var cn_id = i; var count = g.summary['Call Number'][i];
-                               var hbox = document.createElement('hbox'); cns.appendChild(hbox);
-                               var cn_label = document.createElement('label'); hbox.appendChild(cn_label);
+                               var row = document.createElement('row'); grid.lastChild.appendChild(row);
+                               var cn_label = document.createElement('label'); row.appendChild(cn_label);
                                g.special_exception['Call Number']( cn_label, cn_id );
-                               var count_label = document.createElement('label'); hbox.appendChild(count_label);
+                               var count_label = document.createElement('label'); row.appendChild(count_label);
                                count_label.setAttribute('value',count + ' copies');
                        }