|
|
@@ -102,15 +102,14 @@ class Route_UrlAction_ProcesEditor extends RouteBase {// TODO: UrlActionBase @se
|
|
|
public function defaultAction() {
|
|
|
UI::gora();
|
|
|
UI::menu();
|
|
|
-
|
|
|
try {
|
|
|
$id = V::get('id', 0, $_REQUEST, 'int');
|
|
|
if ($id <= 0) throw new Exception("Wrong ID");
|
|
|
- $this->showEditor($id);
|
|
|
+ UI::setTitleJsTag("Edytor Procesu {{$id}}");
|
|
|
+ $this->showEditor($id);
|
|
|
} catch (Exception $e) {
|
|
|
UI::alert('danger', "Error: " . $e->getMessage());
|
|
|
}
|
|
|
-
|
|
|
UI::dol();
|
|
|
}
|
|
|
|