kopia lustrzana https://github.com/wagtail/wagtail
Fix focal area removal not working in IE11 and MS Edge. Fix #4284
rodzic
68daec7848
commit
6126510176
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue