Commit 7d36e11
AJAX requests no longer modify the browser's history by default,
preventing duplicate requests when users refresh the page after
an AJAX operation.
Changes:
- Modified RequestParams to accept optional options parameter
- Updated NajaAjax.request() to set history: false by default
- Allows overriding history behavior if needed via options
🤖 Generated with Claude Code
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5d3883b commit 7d36e11
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments