amahi/platform — pull request #38 by gopesht (2014-03-22 06:31:35+00:00)
Title: Fixed bug #1072

All other install buttons is deactivated when a particular app is installed.After 100% completion of the installation, all the other buttons gets activated.This needs to checked as I don't have Amahi server installed on my laptop(so there are no apps locally), so after 100% installation the buttons gets activated or not I am not sure.I have placed the JavaScript in 'trace progress method ' in the if part, after much debugging of what happens when the install button is clicked.The control flows through this ''trace progress' method to the install_progress action of apps controller where it is checks the status of installation.If it is not 100% then again on success the ''trace progress'' method is called recursively.On 100% completion the if part is executed so I placed the js for activation of buttons here.