diff --git a/Netdisco/Changes b/Netdisco/Changes index 2966ec80..2438260c 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -1,3 +1,9 @@ +2.019004 - + + [BUG FIXES] + + * Set of Port Name (description) fixed to assume OK dialog response + 2.019003 - 2013-10-27 [ENHANCEMENTS] diff --git a/Netdisco/lib/App/Netdisco/Web/PortControl.pm b/Netdisco/lib/App/Netdisco/Web/PortControl.pm index af81153f..beb3d590 100644 --- a/Netdisco/lib/App/Netdisco/Web/PortControl.pm +++ b/Netdisco/lib/App/Netdisco/Web/PortControl.pm @@ -22,9 +22,6 @@ ajax '/ajax/portcontrol' => require_role port_control => sub { 'c_power' => 'power', ); - send_error('No action/value', 400) - unless (param('action') or param('value')); - my $action = $action_map{ param('field') }; my $subaction = ($action =~ m/^(?:power|portcontrol)/ ? (param('action') ."-other") diff --git a/Netdisco/share/public/javascripts/netdisco_portcontrol.js b/Netdisco/share/public/javascripts/netdisco_portcontrol.js index 21f6f561..545c4733 100644 --- a/Netdisco/share/public/javascripts/netdisco_portcontrol.js +++ b/Netdisco/share/public/javascripts/netdisco_portcontrol.js @@ -146,6 +146,7 @@ $(document).ready(function() { } else { // no confirm for port descr change + nd_save_ok = true; port_control(cell); // save }