From: phasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Date: Fri, 13 Nov 2009 18:42:02 +0000 (+0000)
Subject: fm_columns flag for prefixing the class label to the field label
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f6000420f7ba6a8f7edb810cf222679f18e8ce13;p=contrib%2FConifer.git

fm_columns flag for prefixing the class label to the field label

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14908 dcc99617-32d9-48b4-a31d-7c20da2025e4
---

diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js
index abf49e96e8..e18e69340a 100644
--- a/Open-ILS/xul/staff_client/chrome/content/util/list.js
+++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js
@@ -1580,6 +1580,9 @@ util.list.prototype = {
                         for (var attr in column_extras['*']) {
                             def[attr] = column_extras['*'][attr];
                         }
+                        if (column_extras['*']['expanded_label']) {
+                            def.label = my_class.label + ': ' + def.label;
+                        }
                     }
                     if (column_extras[col_id]) {
                         for (var attr in column_extras[col_id]) {