fix js syntax error

This commit is contained in:
Devin Howard 2016-10-13 16:48:46 +08:00
parent 6f3c74b7f1
commit fc2849824f

View file

@ -296,8 +296,8 @@ const Import = {
metacode_id: metacode.id,
permission: topic_permission,
defer_to_map_id: defer_to_map_id,
desc: desc || "",
link: link || "",
desc: desc || '',
link: link || '',
calculated_permission: Active.Map.get('permission')
})
Metamaps.Topics.add(topic)
@ -333,7 +333,7 @@ const Import = {
} // if
var synapse = new Metamaps.Backbone.Synapse({
desc: desc || ''
desc: desc || '',
category: category || 'from-to',
permission: permission,
topic1_id: topic1.id,