kopia lustrzana https://github.com/wagtail/wagtail
Fix loading spinner being shown indefinitely in preview panel
rodzic
0c4156eba0
commit
50d6a808dd
|
@ -183,6 +183,10 @@ function initPreview() {
|
|||
clearPreviewData();
|
||||
cleared = true;
|
||||
reloadIframe();
|
||||
} else {
|
||||
// Finish the process when the data is invalid to prepare for the next update
|
||||
// and avoid elements like the loading spinner to be shown indefinitely
|
||||
finishUpdate();
|
||||
}
|
||||
|
||||
return data.is_valid;
|
||||
|
|
Ładowanie…
Reference in New Issue