mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
DirectorObjectForm: object knows redirect params
This commit is contained in:
parent
4974d1a850
commit
8da2991e76
@ -505,10 +505,10 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
}
|
}
|
||||||
$msg = $this->translate('No action taken, object has not been modified');
|
$msg = $this->translate('No action taken, object has not been modified');
|
||||||
}
|
}
|
||||||
if ($object instanceof IcingaObject && $object->hasProperty('object_name')) {
|
if ($object instanceof IcingaObject) {
|
||||||
$this->setSuccessUrl(
|
$this->setSuccessUrl(
|
||||||
'director/' . strtolower($this->getObjectName()),
|
'director/' . strtolower($this->getObjectName()),
|
||||||
array('name' => $object->object_name)
|
$object->getUrlParams()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user