Let's make menu items and toolbox icons click work independently.
Then, one could comment out some menu items and have icons still work.
Currently, icons' 'onclick' simply calls the corresponding menu element's onclick.
This is an easy change (just move the function code to e.g. sample-app..js and call the same function for a menu object and the tool icon).
Let's make menu items and toolbox icons click work independently. Then, one could comment out some menu items and have icons still work. Currently, icons' 'onclick' simply calls the corresponding menu element's onclick. This is an easy change (just move the function code to e.g. sample-app..js and call the same function for a menu object and the tool icon).