I basically went to the sidepane.htm and started from there as I am not a javascript guy. Started removing things until I got rid of the error. I figured it could be refined more though to do all the if/then stuff that is included in the actual button for proper functionality. couldnt figure that out though. :O
|