Skip to content
This repository was archived by the owner on Sep 23, 2023. It is now read-only.

Commit 6798ee6

Browse files
edg2sMatmaRex
authored andcommitted
Flush the output buffer whenever progress changes
This ensures the progress bar updates in a timely manner
1 parent 74ab5e2 commit 6798ee6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

new.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ function set_progress( int $pc, string $label ) {
4545
pd.openWiki.setDisabled( false );
4646
</script>
4747
EOT;
48-
4948
}
49+
50+
ob_flush();
5051
}
5152

5253
echo new OOUI\FieldsetLayout( [

0 commit comments

Comments
 (0)