fm_columns flag for prefixing the class label to the field label
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 13 Nov 2009 18:42:02 +0000 (18:42 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 13 Nov 2009 18:42:02 +0000 (18:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14908 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/list.js

index abf49e9..e18e693 100644 (file)
@@ -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]) {