summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-11-30 13:20:53 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-11-30 13:20:53 +0100
commit227885e4a6b2df9e4df1507d93c31dd30c5b458a (patch)
tree7e216f7c036ae568407d46359dea361f2a641098 /ishtar_common/widgets.py
parentd7d137c4b1689545abe9dc9af3ab936d0200a05f (diff)
downloadIshtar-227885e4a6b2df9e4df1507d93c31dd30c5b458a.tar.bz2
Ishtar-227885e4a6b2df9e4df1507d93c31dd30c5b458a.zip
Simple treatment form. Treatment listing. (refs #3365)
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index 1183836bc..be22bd3cb 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -581,6 +581,8 @@ class JQueryJqGrid(forms.RadioSelect):
field_name += "__"
field_name += f_name
field_verbose_names.append(unicode(field_verbose_name))
+ if not field_name:
+ field_name = "__".join(col_names)
if field_name in col_labels:
jq_col_names.append(unicode(col_labels[field_name]))
elif col_names and col_names[0] in col_labels: