added permission to synapse dataset in js in two spots: creating new edge, grabbing edge from commons
This commit is contained in:
parent
02cff2e138
commit
8f59fc34d1
2 changed files with 5 additions and 3 deletions
|
@ -82,8 +82,9 @@ var even = true;
|
||||||
category: '<%= synapse.category %>',
|
category: '<%= synapse.category %>',
|
||||||
id: '<%= synapse.id %>',
|
id: '<%= synapse.id %>',
|
||||||
userid: '<%= synapse.user.id %>',
|
userid: '<%= synapse.user.id %>',
|
||||||
username: '<%= synapse.user.name %>'
|
username: '<%= synapse.user.name %>',
|
||||||
});
|
permission: '<%= synapse.permission %>'
|
||||||
|
});
|
||||||
temp.data.$direction = d;
|
temp.data.$direction = d;
|
||||||
Mconsole.fx.plotLine(temp, Mconsole.canvas);
|
Mconsole.fx.plotLine(temp, Mconsole.canvas);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,8 @@ if ( Mconsole != null) {
|
||||||
category: '<%= @synapse.category %>',
|
category: '<%= @synapse.category %>',
|
||||||
id: '<%= @synapse.id %>',
|
id: '<%= @synapse.id %>',
|
||||||
userid: '<%= @synapse.user.id %>',
|
userid: '<%= @synapse.user.id %>',
|
||||||
username: '<%= @synapse.user.name %>'
|
username: '<%= @synapse.user.name %>',
|
||||||
|
permission: '<%= @synapse.permission %>'
|
||||||
});
|
});
|
||||||
temp.data.$direction = d;
|
temp.data.$direction = d;
|
||||||
Mconsole.fx.plotLine(temp, Mconsole.canvas);
|
Mconsole.fx.plotLine(temp, Mconsole.canvas);
|
||||||
|
|
Loading…
Reference in a new issue