fix typo from r15340

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15347 3db68df2-c116-0410-a063-a993310a9797
fix double-click on a garrisoned hero button should select its holder, even if from autogarrison

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15348 3db68df2-c116-0410-a063-a993310a9797
fix promotion of autogarrisoned units (forgot in previous tag)

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15349 3db68df2-c116-0410-a063-a993310a9797
let the AIs know when a training has started

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15350 3db68df2-c116-0410-a063-a993310a9797
Clean up a big part of unit_commands.js, and bring most data to a separate JS object (instead of having deep nests of switches and if-else structures)

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15351 3db68df2-c116-0410-a063-a993310a9797
Small cleanup: i, numbButtons and numberOfItems all contain the same value anyway

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15352 3db68df2-c116-0410-a063-a993310a9797
Fix for r15330. Refs #2622

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15353 3db68df2-c116-0410-a063-a993310a9797
Add missing quotation mark to quote.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@15354 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'