From a182b1c190020f1204cd0cb3918c5d1e9d2ce8c4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 29 Aug 2013 00:19:42 +0200 Subject: Browse sheets (refs #1219) --- ishtar_common/widgets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/widgets.py') 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': -- cgit v1.2.3