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:
Devin Howard 2013-03-16 12:56:26 -04:00
parent 0049ae88d1
commit 6ed19db3ec
2 changed files with 2 additions and 3 deletions

View file

@ -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');

View file

@ -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);
}
});
}