remove '"' candidate list

This commit is contained in:
Rueshyna 2012-11-26 16:06:22 +08:00
parent 0125010a05
commit c9e3d5271a
1 changed files with 1 additions and 1 deletions

View File

@ -208,5 +208,5 @@
</div>
</div>
<script>
orbitDesktop.initializeJournals.prototype.autocomplete = { "journal_title" : <%= @journal_candidate %>, "co_authors_candidate" : <%= @co_author_candidate %> }
orbitDesktop.initializeJournals.prototype.autocomplete = { "journal_title" : <%= @journal_candidate.to_json.html_safe %>, "co_authors_candidate" : <%= @co_author_candidate.to_json.html_safe %> }
</script>