Some cleaning.

This commit is contained in:
Senén Rodero Rodríguez
2017-09-01 13:56:04 +02:00
parent 15a4d26f39
commit 3d3d015283
4 changed files with 1 additions and 14 deletions

View File

@@ -23,19 +23,8 @@ App.Forms =
false
)
uploadButton: ->
element = $('input[type=file]')
i = 0
while i < element.length
element[i].addEventListener 'change', ->
console.log @files[0].name
$(element).parent().find('.file-name').text(@files[0].name)
return
i++
initialize: ->
App.Forms.disableEnter()
App.Forms.submitOnChange()
App.Forms.toggleLink()
# App.Forms.uploadButton()
false

View File

@@ -753,7 +753,6 @@
display: none;
}
/* Ovveride proposal linea 623 */
.document-form{
max-width: 75rem;
margin-left: auto;