Nessuna descrizione http://j1x-huginn.herokuapp.com

scenario-show-page.js.coffee 508B

12345678910111213141516
  1. class @ScenarioShowPage
  2. constructor:() ->
  3. @changeModalText()
  4. changeModalText: () ->
  5. $('#disable-all').click ->
  6. $('#enable-disable-agents .modal-body').text 'Would you like to disable all agents?'
  7. $('#scenario-disabled-value').val 'true'
  8. $('#enable-all').click ->
  9. $('#enable-disable-agents .modal-body').text 'Would you like to enable all agents?'
  10. $('#scenario-disabled-value').val 'false'
  11. $ ->
  12. Utils.registerPage(ScenarioShowPage, forPathsMatching: /^scenarios/)