Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed May 6, 2024
1 parent 4bbd8d8 commit 8aa6f2e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/actions/BackendModelDeleteAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function run()
}

$model = $this->controller->model;

$rr = new RequestResponse();

if ($rr->isRequestAjaxPost())
Expand All @@ -84,9 +84,12 @@ public function run()
}
} catch (\Exception $e)
{
throw $e;
$rr->message = $e->getMessage();
$rr->success = false;
}



return (array) $rr;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/_model_header.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<h1 style="margin-bottom: 0px; line-height: 1.1;">
<?php echo $controller->modelShowName; ?>
<? if (isset($model->sx_id) && $model->sx_id) : ?>
<span style="font-size: 17px; font-weight: bold;">
<span class="sx-id" style="font-size: 17px; font-weight: bold;">
<span data-toggle='tooltip' title='SkeekS Suppliers ID: <?php echo $model->sx_id; ?>'><i class='fas fa-link'></i></span>
</span>
<? endif; ?>
Expand Down

0 comments on commit 8aa6f2e

Please sign in to comment.