fix typo and clear port box on autocomplete dropdown

This commit is contained in:
Oliver Gorwits
2013-05-14 20:43:43 +01:00
parent a00f9b5c2e
commit 11fd8bf964
2 changed files with 4 additions and 2 deletions

View File

@@ -78,7 +78,9 @@
$(target).on('focus', '.nd_topo_port', function(e) {
$(this).autocomplete('search') });
$(target).on('click', '.nd_topo_port_caret', function(e) {
$(this).siblings('.nd_topo_port').autocomplete('search') });
$(this).siblings('.nd_topo_port').val('');
$(this).siblings('.nd_topo_port').autocomplete('search');
});
// activity for admin task tables