1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Moved automatic adding of record-number to the page-title into EditObserver() method for easy overriding.

This commit is contained in:
Cameron
2020-03-11 14:52:34 -07:00
parent f929094873
commit 80a6655af9

View File

@@ -2183,10 +2183,7 @@ class e_admin_controller
// e107::getDebug()->log("Admin-ui Action: <b>".$action."</b>");
if($action === 'Edit')
{
$this->addTitle('#'.$this->getId()); // Inform user of which record is being edited.
}
@@ -6020,6 +6017,7 @@ class e_admin_ui extends e_admin_controller_ui
{
$this->getModel()->load($this->getId());
$this->addTitle();
$this->addTitle('#'.$this->getId()); // Inform user of which record is being edited.
}
/**