# Planning Events

These events are in planning.js file.

# Ti.App.fireEvent('disableTopButtons')

Disables right and left navigation buttons.

Example:

Ti.App.fireEvent('disableTopButtons', {})

# Ti.App.fireEvent('enableTopButtons')

Enables right and left navigation buttons.

Example:

Ti.App.fireEvent('enableTopButtons', {})

# Ti.App.fireEvent('showHelp')

Shows help. No further explanation available.

Example:

Ti.App.fireEvent('showHelp', showHelpForCallPlanner)

# Ti.App.fireEvent('finishedPickingContent')

Fired after picking content for the planning call is finished. Checks saving of call.

Example:

Ti.App.fireEvent('finishedPickingContent', {
  fileIDs: [fileID0, fileID1, ...]
})
  • fileIDs - IDs of the selected files while planning call.

# Ti.App.fireEvent('chosenAccount')

Empty event, listener is not filled up.

Example:

Ti.App.fireEvent('chosenAccount', {})

# Ti.App.fireEvent('mapRouteReady')

Fired after mapWebView is ready and the route is prepared.

Example:

Ti.App.fireEvent('mapRouteReady', {})

# Ti.App.fireEvent('crmSynced')

Fired after CRM sync is finished. No further explanation available.

Example:

Ti.App.fireEvent('crmSynced', crmSyncedD)

# Ti.App.fireEvent('getIsPostcallActive')

Shortcut event to start a Quick Start Call.

Ti.App.fireEvent('getIsPostcallActive', {
  callBack: 'myCallBackFunc'
})
  • callBack - callBack function which is evaluated with targeted WebView with first parameter as a boolean

# Ti.App.fireEvent('getIsMapViewWindowActive')

Shortcut event to check a map view window.

Ti.App.fireEvent('getIsMapViewWindowActive', {
  callBack: 'myCallBackFunc'
})
  • callBack - callBack function which is evaluated with targeted WebView with first parameter as a boolean