Set of Port Name (description) fixed to assume OK dialog response

This commit is contained in:
Oliver Gorwits
2013-11-02 18:09:55 +00:00
parent 667715dd30
commit d0cd743006
3 changed files with 7 additions and 3 deletions

View File

@@ -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]

View File

@@ -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")

View File

@@ -146,6 +146,7 @@ $(document).ready(function() {
}
else {
// no confirm for port descr change
nd_save_ok = true;
port_control(cell); // save
}