summaryrefslogtreecommitdiff
path: root/views/new-post.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-01-04 15:26:51 -0800
committerAaron Parecki <aaron@parecki.com>2017-01-04 15:26:51 -0800
commitacafb9192a6402a3f3d60d5e6af11cb4576fc96c (patch)
treed70737a0ee528cff04673ff6b66a1667fbd302bf /views/new-post.php
parente7fe68f73e441778f80683383ddb2ffe7a48f85c (diff)
add tags, slug and status field to quill editor
Diffstat (limited to 'views/new-post.php')
-rw-r--r--views/new-post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/new-post.php b/views/new-post.php
index 3418272..6ce8095 100644
--- a/views/new-post.php
+++ b/views/new-post.php
@@ -419,7 +419,7 @@ $(function(){
}
}
if(v=$("#note_slug").val()) {
- formData.append("slug", v);
+ formData.append("<?= $this->user->micropub_slug_field ?>", v);
}
// Add either the photo as a file, or the photo URL depending on whether the user has a media endpoint