Просмотр исходного кода

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

Alex Trofimov 1 год назад
Родитель
Сommit
5612df5208
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      studio/template/scripts/BxBaseStudioNavigationItems.php

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

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