diff --git a/app/views/play/ladder_view.coffee b/app/views/play/ladder_view.coffee index 1718b0999..03f0bec67 100644 --- a/app/views/play/ladder_view.coffee +++ b/app/views/play/ladder_view.coffee @@ -33,10 +33,13 @@ module.exports = class LadderView extends RootView method: 'POST' data: session: ID - alert "Simulating all games!" - alert "(do not push more than once pls)" + $("#simulate-all-button").prop "disabled", true + $("#simulate-all-button").text "Submitted all!" onSimulateButtonClick: (e) -> + $("#simulate-button").prop "disabled",true + $("#simulate-button").text "Simulating..." + @simulator.fetchAndSimulateTask() updateSimulationStatus: (simulationStatus, sessions)->