Fix focal area removal not working in IE11 and MS Edge. Fix #4284

pull/4285/merge
Thibaud Colas 2018-02-14 17:14:18 +02:00 zatwierdzone przez Janneke Janssen
rodzic 68daec7848
commit 6126510176
3 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -16,6 +16,7 @@ Changelog
* Fix: Draftail now supports features specified via the `WAGTAILADMIN_RICH_TEXT_EDITORS` setting (Todd Dembrey)
* Fix: Password reset form no longer indicates whether the email is recognised, as per standard Django behaviour (Bertrand Bordage)
* Fix: `UserAttributeSimilarityValidator` is now correctly enforced on user creation / editing forms (Tim Heap)
* Fix: Focal area removal not working in IE11 and MS Edge (Thibaud Colas)
2.0.1 (xx.xx.xxxx) - IN DEVELOPMENT

Wyświetl plik

@ -30,6 +30,7 @@ Bug fixes
* Draftail now supports features specified via the ``WAGTAILADMIN_RICH_TEXT_EDITORS`` setting (Todd Dembrey)
* Password reset form no longer indicates whether the email is recognised, as per standard Django behaviour (Bertrand Bordage)
* ``UserAttributeSimilarityValidator`` is now correctly enforced on user creation / editing forms (Tim Heap)
* Focal area removal not working in IE11 and MS Edge (Thibaud Colas)
Upgrade considerations

Wyświetl plik

@ -80,10 +80,10 @@ $(function() {
$image.removeAttr('style');
$('.jcrop-holder').remove();
$('.current-focal-point-indicator').remove();
fields.x.removeAttr('value');
fields.y.removeAttr('value');
fields.width.removeAttr('value');
fields.height.removeAttr('value');
fields.x.val('');
fields.y.val('');
fields.width.val('');
fields.height.val('');
setupJcrop.apply(this, params);
});
});