mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
commit
878e31f56c
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@
|
||||||
// and then update the placeholder value.
|
// and then update the placeholder value.
|
||||||
if (title) {
|
if (title) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: Ghost.paths.apiRoot + '/posts/getSlug/' + encodeURIComponent(title) + '/',
|
url: Ghost.paths.apiRoot + '/posts/slug/' + encodeURIComponent(title) + '/',
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
$postSettingSlugEl.attr('placeholder', result);
|
$postSettingSlugEl.attr('placeholder', result);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue