kopia lustrzana https://github.com/wagtail/wagtail
fix deprecated load() function
rodzic
8ba95cb664
commit
b6e01515cb
|
@ -18,6 +18,7 @@ Changelog
|
|||
* Fix: Hide the userbar from printed page representation (Eugene Morozov)
|
||||
* Fix: Prevent the page editor footer content from collapsing into two lines unnecessarily (Jack Paine)
|
||||
* Fix: StructBlock values no longer render HTML templates as their `str` representation, to prevent infinite loops in debugging / logging tools (Matt Westcott)
|
||||
* Fix: Removed deprecated jQuery ``load`` call from TableBlock initialisation (Jack Paine)
|
||||
|
||||
|
||||
1.11.1 (07.07.2017)
|
||||
|
|
|
@ -38,6 +38,7 @@ Bug fixes
|
|||
* Hide the userbar from printed page representation (Eugene Morozov)
|
||||
* Prevent the page editor footer content from collapsing into two lines unnecessarily (Jack Paine)
|
||||
* StructBlock values no longer render HTML templates as their ``str`` representation, to prevent infinite loops in debugging / logging tools (Matt Westcott)
|
||||
* Removed deprecated jQuery ``load`` call from TableBlock initialisation (Jack Paine)
|
||||
|
||||
Upgrade considerations
|
||||
======================
|
||||
|
|
|
@ -132,7 +132,7 @@ function initTable(id, tableOptions) {
|
|||
// Apply resize after document is finished loading (parent .sequence-member-inner width is set)
|
||||
if ('resize' in $(window)) {
|
||||
resizeHeight(getHeight());
|
||||
$(window).load(function() {
|
||||
$(window).on('load', function() {
|
||||
$(window).resize();
|
||||
});
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue