Changes

Key:  Additions   Deletions
public static boolean onpagedelete()

This method is called whenever a user attempts to delete a page, but before the page is allowed to be deleted. By default, this method simply allows the deletion to occur. It should be overridden if additional behavior is required in order to delete this page (i.e: reverse the operations performed during this page's creation, remove subpages, etc.).

If asynchronous operations are performed during this method, then return null to defer processing until the asynchronous operations have completed. Call onpagedelete_Callback with a boolean parameter corresponding to this method's return value when processing should continue. A second parameter containing a failure
message may also be passed if denying the action.

Parameters:
cellID String The identifier for the cell on the page to be deleted.
message String The reason provided by the user for deleting the page.

Returns:
true to allow the page delete action.
false to deny the page delete action.
null to defer processing until onpagedelete_Callback is called.