repaints the lighbox for the task according to its type
type | string | the task type |
gantt.changeLightboxType(gantt.config.types.project);
The method repaints the lightbox and if possible saves all the input. For rebuilding the structure, the method uses the configuration for the specified type.
If the type of the lightbox is the same as the type in the parameter, the method does not repaint the lightbox.