Browse Source

fix for tags in editor

pull/108/head
Aaron Parecki 7 years ago
parent
commit
0994a07522
  1. 2
      public/editor-files/editor.js

2
public/editor-files/editor.js

@ -72,7 +72,7 @@ $(function() {
$('#publish-in-progress').removeClass('hidden'); $('#publish-in-progress').removeClass('hidden');
$('#publish-fields').addClass('hidden'); $('#publish-fields').addClass('hidden');
var category = $("#note_category").tokenfield("getTokens").map(function(t){ return t.value});
var category = $("#post-tags").tokenfield("getTokens").map(function(t){ return t.value});
$.post('/editor/publish', { $.post('/editor/publish', {
name: $("#post-name").val(), name: $("#post-name").val(),

Loading…
Cancel
Save