diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-29 00:19:42 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-29 00:19:42 +0200 |
commit | a182b1c190020f1204cd0cb3918c5d1e9d2ce8c4 (patch) | |
tree | 9fe8a8572863f02229d0e7a8f1d430a564659314 /ishtar_common/widgets.py | |
parent | 2d959c5a5eac73e00fcf8cf251239b77bf6628a3 (diff) | |
download | Ishtar-a182b1c190020f1204cd0cb3918c5d1e9d2ce8c4.tar.bz2 Ishtar-a182b1c190020f1204cd0cb3918c5d1e9d2ce8c4.zip |
Browse sheets (refs #1219)
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r-- | ishtar_common/widgets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index e94353ec7..c10bc7d34 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -238,9 +238,9 @@ class JQueryJqGrid(forms.RadioSelect): continue
col_names.append(u'"%s"' % field_verbose_name)
extra_cols.append(self.COL_TPL % {'idx':field_name})
- col_names = col_names and ",\n".join(col_names) or ""
- col_idx = col_idx and ",\n".join(col_idx) or ""
- extra_cols = extra_cols and ",\n".join(extra_cols) or ""
+ col_names = col_names and ", ".join(col_names) or ""
+ col_idx = col_idx and ", ".join(col_idx) or ""
+ extra_cols = extra_cols and ", ".join(extra_cols) or ""
dct['encoding'] = settings.ENCODING or 'utf-8'
dct['source'] = unicode(self.source)
if unicode(self.source_full) and unicode(self.source_full) != 'None':
|