fix deprecated load() function

pull/3714/merge
kapito 2017-08-01 14:50:09 +01:00 zatwierdzone przez Matt Westcott
rodzic 8ba95cb664
commit b6e01515cb
3 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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)

Wyświetl plik

@ -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
======================

Wyświetl plik

@ -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();
});
}