fix #145 - autocomplete widget fades out on topic creation

This commit is contained in:
Devin Howard 2013-03-07 20:09:18 -05:00
parent 16d46ffd28
commit ddf449502b

View file

@ -3,6 +3,7 @@
* This javascript is returned and executed when you create a new node.
*/
$('#topic_name').autocomplete('disable');
$('.ui-autocomplete.ui-widget').fadeOut('fast');
$('#new_topic').fadeOut('fast');
$('#topic_name').attr('value','');
$('#topic_grabTopic').attr('value','null');
@ -103,4 +104,4 @@ if (!$.isEmptyObject(Mconsole.graph.nodes)) {
selectNodeOnClickHandler(temp);
}
});
}
}