fix typo and clear port box on autocomplete dropdown
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package App::Netdisco::Web::AdminTask;
|
||||
|
||||
use Dancer ':syntax';
|
||||
use Dancer::Plugin::AJAX;
|
||||
use Dancer::Plugin::Ajax;
|
||||
use Dancer::Plugin::DBIC;
|
||||
|
||||
sub add_discover_job {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user