forked from saurabh/personal-journal
fix error
This commit is contained in:
parent
3ba5e45a4c
commit
f9579fd45d
|
@ -134,7 +134,7 @@ class JournalPaper
|
||||||
else
|
else
|
||||||
if t == "paper_title"
|
if t == "paper_title"
|
||||||
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_journal')
|
link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_journal')
|
||||||
paper_title = link=='#' ? p.paper_title : "<a href=\"#{link}\" title=\"#{p.create_link}\" target='_blank'>#{p.create_link}</a>"
|
paper_title = link=='#' ? p.create_link : "<a href=\"#{link}\" title=\"#{p.create_link}\" target='_blank'>#{p.create_link}</a>"
|
||||||
pd_data << { "data_title" => paper_title }
|
pd_data << { "data_title" => paper_title }
|
||||||
else
|
else
|
||||||
pd_data << { "data_title" => p.send(t) }
|
pd_data << { "data_title" => p.send(t) }
|
||||||
|
|
Loading…
Reference in New Issue