fix js syntax error
This commit is contained in:
parent
6f3c74b7f1
commit
fc2849824f
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue