fix #145 - autocomplete widget fades out on topic creation
This commit is contained in:
parent
16d46ffd28
commit
ddf449502b
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
* This javascript is returned and executed when you create a new node.
|
* This javascript is returned and executed when you create a new node.
|
||||||
*/
|
*/
|
||||||
$('#topic_name').autocomplete('disable');
|
$('#topic_name').autocomplete('disable');
|
||||||
|
$('.ui-autocomplete.ui-widget').fadeOut('fast');
|
||||||
$('#new_topic').fadeOut('fast');
|
$('#new_topic').fadeOut('fast');
|
||||||
$('#topic_name').attr('value','');
|
$('#topic_name').attr('value','');
|
||||||
$('#topic_grabTopic').attr('value','null');
|
$('#topic_grabTopic').attr('value','null');
|
||||||
|
@ -103,4 +104,4 @@ if (!$.isEmptyObject(Mconsole.graph.nodes)) {
|
||||||
selectNodeOnClickHandler(temp);
|
selectNodeOnClickHandler(temp);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue