The Dreamweaver JavaScript API > Menu functions > dreamweaver.getMenuNeedsUpdating() |
dreamweaver.getMenuNeedsUpdating()
Availability
Dreamweaver 3.0
Description
Checks whether the specified menu needs to be updated.
Arguments
menuId
menuId is a string containing the value of the id attribute for the menu item (as specified in the menus.xml file).
Returns
A Boolean value indicating whether the menu needs to be updated. This function returns false only if dreamweaver.notifyMenuUpdated() has been called with this menuId, and the return value of menuListFunction has not changed since that time. See dreamweaver.notifyMenuUpdated()for more information.
Enabler
None.