fix typo and clear port box on autocomplete dropdown
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package App::Netdisco::Web::AdminTask;
|
package App::Netdisco::Web::AdminTask;
|
||||||
|
|
||||||
use Dancer ':syntax';
|
use Dancer ':syntax';
|
||||||
use Dancer::Plugin::AJAX;
|
use Dancer::Plugin::Ajax;
|
||||||
use Dancer::Plugin::DBIC;
|
use Dancer::Plugin::DBIC;
|
||||||
|
|
||||||
sub add_discover_job {
|
sub add_discover_job {
|
||||||
|
|||||||
@@ -78,7 +78,9 @@
|
|||||||
$(target).on('focus', '.nd_topo_port', function(e) {
|
$(target).on('focus', '.nd_topo_port', function(e) {
|
||||||
$(this).autocomplete('search') });
|
$(this).autocomplete('search') });
|
||||||
$(target).on('click', '.nd_topo_port_caret', function(e) {
|
$(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
|
// activity for admin task tables
|
||||||
|
|||||||
Reference in New Issue
Block a user