added pointer to node hover, fixed synapse permission edit bug
This commit is contained in:
parent
2abeb73e9a
commit
2249fc4893
3 changed files with 6 additions and 3 deletions
|
@ -494,7 +494,10 @@ function onMouseMoveHandler(node, eventInfo, e) {
|
|||
if (MetamapsModel.edgeHoveringOver) {
|
||||
onMouseLeave(MetamapsModel.edgeHoveringOver);
|
||||
}
|
||||
$('canvas').css('cursor', 'pointer');
|
||||
return;
|
||||
} else {
|
||||
$('canvas').css('cursor', 'default');
|
||||
}
|
||||
|
||||
if (edge == false && MetamapsModel.edgeHoveringOver != false) {
|
||||
|
|
|
@ -279,7 +279,7 @@ function populateShowCard(node) {
|
|||
s.height( s.height() ).mCustomScrollbar('update');
|
||||
|
||||
var name = $(this).html();
|
||||
node.name = name;
|
||||
node.name = decodeEntities(name);
|
||||
Mconsole.plot();
|
||||
});
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ if ( Mconsole != null) {
|
|||
showDesc: true, //will be changed by selectEdge
|
||||
category: '<%= @synapse.category %>',
|
||||
id: '<%= @synapse.id %>',
|
||||
userid: '<%= @synapse.user.id %>',
|
||||
userid: <%= @synapse.user.id %>,
|
||||
username: '<%= @synapse.user.name %>',
|
||||
permission: '<%= @synapse.permission %>'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue