Add progress bar polymorphic views

This commit is contained in:
Javi Martín
2019-01-04 15:05:15 +01:00
committed by decabeza
parent eaea95ccfb
commit 4f25581636
12 changed files with 327 additions and 0 deletions

View File

@@ -23,8 +23,14 @@ App.Forms =
false
)
synchronizeInputs: ->
$("[name='progress_bar[percentage]']").on
input: ->
$("[name='#{this.name}']").val($(this).val())
initialize: ->
App.Forms.disableEnter()
App.Forms.submitOnChange()
App.Forms.toggleLink()
App.Forms.synchronizeInputs()
false