undo the bug I introduced in the last commit; also change selectNodeOnClickHandler to selectNode to prevent a couple errors in topics/create.js.erb
This commit is contained in:
parent
0049ae88d1
commit
6ed19db3ec
2 changed files with 2 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
|||
$('#new_synapse').fadeOut('fast');
|
||||
$('#synapse_desc').attr('value','');
|
||||
$('#synapse_desc').autocomplete('disable');
|
||||
$('#synapse_desc').fadeOut('fast');
|
||||
$('#synapse_topic1id').attr('value','0');
|
||||
$('#synapse_topic2id').attr('value','0');
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ if (!$.isEmptyObject(Mconsole.graph.nodes)) {
|
|||
modes: ['node-property:dim'],
|
||||
duration: 500,
|
||||
onComplete: function() {
|
||||
selectNodeOnClickHandler(temp);
|
||||
selectNode(temp);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -101,7 +101,7 @@ if (!$.isEmptyObject(Mconsole.graph.nodes)) {
|
|||
modes: ['node-property:dim'],
|
||||
duration: 500,
|
||||
onComplete: function() {
|
||||
selectNodeOnClickHandler(temp);
|
||||
selectNode(temp);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue