author | Thierry Florac <thierry.florac@onf.fr> |
Fri, 30 Mar 2018 15:36:35 +0200 | |
changeset 92 | 4568b89a1a58 |
parent 91 | c2474255555d |
child 93 | da8b061840c8 |
--- a/src/pyams_file/zmi/image.py Wed Mar 28 15:48:24 2018 +0200 +++ b/src/pyams_file/zmi/image.py Fri Mar 30 15:36:35 2018 +0200 @@ -679,6 +679,7 @@ """Image resize form, AJAX renderer""" def update_content(self, content, data): + data = data.get(self, data) self.context.resize(data.get('width'), data.get('height'), data.get('keep_ratio')) def get_ajax_output(self, changes):