add private method addItemMenu
This commit is contained in:
parent
8de7485775
commit
b7493206a2
@ -366,4 +366,8 @@ class WPMenu:
|
||||
|
||||
def addItemMenu(self, menu, idMenu):
|
||||
self._logger.info("{0} : add item to menu : {1}".format(self._name, idMenu))
|
||||
for i in menu:
|
||||
parent = self._createItemMenu(idMenu, i, parent)
|
||||
for j in menu["children"]:
|
||||
self._createItemMenu(idMenu, i, parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user