Fossil SCM
Change [3710202914] to call the function to load the diff-related JS code even for blocked diffs. By default, the loader function is already a no-op if diffs are blocked, so the behavior intended by [3710202914] is retained. But other branches are patching the loader function because they rely on the JS code even if the diffs are hidden.
Commit
171127fd14cf63becab03d50c294c5285691321969e2a92ab07660a3085f74ce
Parent
58a48e3abe444fb…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -1235,12 +1235,12 @@ | ||
| 1235 | 1235 | @ document.getElementById('changes_section').textContent = 'Changes ' + |
| 1236 | 1236 | @ '(%d(g.diffCnt[0]) file' + (%d(g.diffCnt[0])===1 ? '' : 's') + ': ' + |
| 1237 | 1237 | @ '+%d(g.diffCnt[1]) ' + |
| 1238 | 1238 | @ '−%d(g.diffCnt[2]))' |
| 1239 | 1239 | @ </script> |
| 1240 | - append_diff_javascript(diffType); | |
| 1241 | 1240 | } |
| 1241 | + append_diff_javascript(diffType); | |
| 1242 | 1242 | style_finish_page(); |
| 1243 | 1243 | } |
| 1244 | 1244 | |
| 1245 | 1245 | /* |
| 1246 | 1246 | ** WEBPAGE: winfo |
| 1247 | 1247 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1235,12 +1235,12 @@ | |
| 1235 | @ document.getElementById('changes_section').textContent = 'Changes ' + |
| 1236 | @ '(%d(g.diffCnt[0]) file' + (%d(g.diffCnt[0])===1 ? '' : 's') + ': ' + |
| 1237 | @ '+%d(g.diffCnt[1]) ' + |
| 1238 | @ '−%d(g.diffCnt[2]))' |
| 1239 | @ </script> |
| 1240 | append_diff_javascript(diffType); |
| 1241 | } |
| 1242 | style_finish_page(); |
| 1243 | } |
| 1244 | |
| 1245 | /* |
| 1246 | ** WEBPAGE: winfo |
| 1247 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -1235,12 +1235,12 @@ | |
| 1235 | @ document.getElementById('changes_section').textContent = 'Changes ' + |
| 1236 | @ '(%d(g.diffCnt[0]) file' + (%d(g.diffCnt[0])===1 ? '' : 's') + ': ' + |
| 1237 | @ '+%d(g.diffCnt[1]) ' + |
| 1238 | @ '−%d(g.diffCnt[2]))' |
| 1239 | @ </script> |
| 1240 | } |
| 1241 | append_diff_javascript(diffType); |
| 1242 | style_finish_page(); |
| 1243 | } |
| 1244 | |
| 1245 | /* |
| 1246 | ** WEBPAGE: winfo |
| 1247 |