Hello ajcs,
The initTools
callback function is called twice for each tool. On the first call, the settings are applied to the tool as it appears in the toolbar. On the second call, the settings are applied to the tool when it is minimized. This allows the tool to appear differently in both cases if different settings are applied.
If you wish to disable the minimization of a tool, return { minimizable: false } in initTools
. If you wish the tool to be minimizable but not to appear in the minimize pop-up menu, return { menuTool: false }. In these cases, there will only be one call of initTools
for this tool.
Best Regards,
Martin Yotov
jQWidgets team
https://www.jqwidgets.com