[gen] Make ckeditor work with IE.

This commit is contained in:
Gaetan Delannay 2013-03-28 21:32:47 +01:00
parent e1e1b90921
commit 48c7c50122
5 changed files with 28 additions and 146 deletions

View file

@ -1832,8 +1832,7 @@ class BaseMixin:
if isinstance(v, int): sv = str(v)
else: sv = '"%s"' % v
ck.append('%s: %s' % (k, sv))
res = 'CKEDITOR.replace("%s", {%s})' % (name, ', '.join(ck))
return res
return 'CKEDITOR.replace("%s", {%s})' % (name, ', '.join(ck))
def getCalendarInit(self, name, years):
'''Gets the Javascript init code for displaying a calendar popup for