Projet

Général

Profil

0001-misc-fix-ckeditor-monkeypatch-to-keep-widget-attribu.patch

Frédéric Péters, 03 janvier 2018 18:52

Télécharger (815 octets)

Voir les différences:

Subject: [PATCH] misc: fix ckeditor monkeypatch to keep widget attributes
 (#20974)

 combo/monkeypatch.py | 2 ++
 1 file changed, 2 insertions(+)
combo/monkeypatch.py
28 28
    if value is None:
29 29
        value = ''
30 30
    final_attrs = {'name': name}
31
    if getattr(self, 'attrs', None):
32
        final_attrs.update(self.attrs)
31 33
    if attrs:
32 34
        final_attrs.update(attrs)
33 35
    if 'filebrowserUploadUrl' not in self.config:
34
-