diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-11 01:33:48 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-11 01:33:48 +0200 |
| commit | 85b20bbc20af850906050c2519dd6dc423126aef (patch) | |
| tree | 069265e6846b10183a211934a9da1f3fb733420e /public/javascripts | |
| parent | 15aff3eff51809d1ce21caab406a0ef8b13624b6 (diff) | |
Make /nodes/parameterize_preview route independent
Diffstat (limited to 'public/javascripts')
| -rw-r--r-- | public/javascripts/admin_search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/admin_search.js b/public/javascripts/admin_search.js index 5be5d57..0e70845 100644 --- a/public/javascripts/admin_search.js +++ b/public/javascripts/admin_search.js | |||
| @@ -201,7 +201,7 @@ parent_search = { | |||
| 201 | 201 | ||
| 202 | clearTimeout(parent_search.path_timeout); | 202 | clearTimeout(parent_search.path_timeout); |
| 203 | parent_search.path_timeout = setTimeout(function() { | 203 | parent_search.path_timeout = setTimeout(function() { |
| 204 | $.get("/nodes/parameterize_preview", { title: title }, function(slug) { | 204 | $.get(PARAMETERIZE_PREVIEW_URL, { title: title }, function(slug) { |
| 205 | $("#resulting_path").text(window.location.origin + "/" + (prefix ? prefix + "/" : "") + slug); | 205 | $("#resulting_path").text(window.location.origin + "/" + (prefix ? prefix + "/" : "") + slug); |
| 206 | }); | 206 | }); |
| 207 | }, 300); | 207 | }, 300); |
