iVis-at-Bilkent / sbgnviz.js

A web based visualization tool for process description maps in SBGN
http://www.cs.bilkent.edu.tr/~ivis/SBGNViz_sample_app/
GNU Lesser General Public License v3.0
35 stars 14 forks source link

To make menu items and toolbox icons click work independently #162

Closed IgorRodchenkov closed 7 years ago

IgorRodchenkov commented 8 years ago

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).