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