From 80a6655af96840368ca111b57cf81bccbb806603 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 11 Mar 2020 14:52:34 -0700 Subject: [PATCH] Moved automatic adding of record-number to the page-title into EditObserver() method for easy overriding. --- e107_handlers/admin_ui.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index a62fa387b..3247473a7 100755 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -2183,10 +2183,7 @@ class e_admin_controller // e107::getDebug()->log("Admin-ui Action: ".$action.""); - 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. } /**