Set of Port Name (description) fixed to assume OK dialog response
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2.019004 -
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Set of Port Name (description) fixed to assume OK dialog response
|
||||||
|
|
||||||
2.019003 - 2013-10-27
|
2.019003 - 2013-10-27
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -22,9 +22,6 @@ ajax '/ajax/portcontrol' => require_role port_control => sub {
|
|||||||
'c_power' => 'power',
|
'c_power' => 'power',
|
||||||
);
|
);
|
||||||
|
|
||||||
send_error('No action/value', 400)
|
|
||||||
unless (param('action') or param('value'));
|
|
||||||
|
|
||||||
my $action = $action_map{ param('field') };
|
my $action = $action_map{ param('field') };
|
||||||
my $subaction = ($action =~ m/^(?:power|portcontrol)/
|
my $subaction = ($action =~ m/^(?:power|portcontrol)/
|
||||||
? (param('action') ."-other")
|
? (param('action') ."-other")
|
||||||
|
|||||||
@@ -146,6 +146,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// no confirm for port descr change
|
// no confirm for port descr change
|
||||||
|
nd_save_ok = true;
|
||||||
port_control(cell); // save
|
port_control(cell); // save
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user