Kaynağa Gözat

#5227 Menu cache should be cleared after menu enabling/disabling

Alex Trofimov 1 yıl önce
ebeveyn
işleme
5612df5208

+ 7 - 0
studio/template/scripts/BxBaseStudioNavigationItems.php

@@ -213,6 +213,13 @@ class BxBaseStudioNavigationItems extends BxDolStudioNavigationItems
         return $mixed;
         return $mixed;
     }
     }
 
 
+    public function performActionEnable($mixedChecked = null)
+    {
+        $mixed = parent::performActionEnable($mixedChecked);
+        $this->onMenuItemsChanged();
+        return $mixed;
+    }
+
     public function performActionShowTo()
     public function performActionShowTo()
     {
     {
         $sAction = 'show_to';
         $sAction = 'show_to';