mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-09 13:09:33 -04:00
Add 'root' as a legal factory type
This commit is contained in:
@@ -104,6 +104,7 @@ class Menu_Core extends Menu_Element {
|
||||
case "dialog":
|
||||
return new Menu_Element_Dialog();
|
||||
|
||||
case "root":
|
||||
case "submenu":
|
||||
return new Menu();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user