Editor - Business menu
This view is a modal that opens with the function showBusinessMenu()
in the view theme/viees/editor/business.html In this view the menus are listed and then select the one you want to modify
Main Models
deal.menus
: contains all the menus of the businesscurNewMenu
: contains the initial state to create a new menu
Utility Functions
hideBusinessMenu()
: close this modalremoveMenu(menu)
: function that removes a menu from the databaseshowBusinessMenuSttings(menu)
: Open a modal to manipulate the details of the menuupdateMenu(menu)
: function to update the menu information
Example of base theme
updateMenu()
showBusinessMenuSttings
removeMenu
showBusinessMenuSttings
but with curNewMenu to add a new menu.deal.menus
curNewMenu
model
Updated almost 6 years ago