Editor - Settings - Drivergroup Settings
This modal is the one that opens when the function showDrivergroupSettings
is used in the view theme/views/editor/settings/includes/drivers.html
Main Models
curDrivergroup
: contains the details of the group of drivers in this viewdrivermanagers
: contains Driver administrators in an arraydrivers
: contains all the drivers in an array.business
: contains all the businesses in an array.
Utility Functions
hideDrivergroupSettings()
: it serves to close the modalsave()
: This serves to update the group data that is currently open in this modal.toggleAllDrivers()
: This is used to select or de-select all the drivers in a single package for the group of driverstoggleDriver()
: This serves to select or deselect all drivers in a single package for the group of driverstoggleAllBusiness()
: This serves to select or deselect all drivers in a single package for the group of driverstoggleBusiness()
: Used to select or deselect individually a group of driversadd()
: It serves to add a new group of drivers
Example of base theme
- drivermanagers: Listed to select one for
curDrivergroup.administrator_id
curDrivergroup.name
toggleAllDrivers()
toggleDriver()
toggleAllBusiness()
toggleBusiness()
Updated almost 6 years ago