Some cleaning.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -753,7 +753,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Ovveride proposal linea 623 */
|
||||
.document-form{
|
||||
max-width: 75rem;
|
||||
margin-left: auto;
|
||||
|
||||
Reference in New Issue
Block a user