Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
fb170a76
"app/Http/vscode:/vscode.git/clone" did not exist on "89ee0f399a0f8bbaf06ae1c7fd6a9135c419b564"
Commit
fb170a76
authored
May 19, 2021
by
Danillo Bion
Browse files
modificacao na validacao do campo anexo da planilha de pontuacao
parent
38ac62d7
Changes
1
Show whitespace changes
Inline
Side-by-side
resources/views/evento/submeterTrabalho.blade.php
View file @
fb170a76
...
...
@@ -1188,7 +1188,7 @@
}
/*
* FUNCAO: funcao responsavel pela verificacao dos arquivos anexados
* FUNCAO: funcao responsavel pela verificacao dos arquivos anexados
(PDF)
*
*/
function
verificarArquivoAnexado_pdf
(
item
){
...
...
@@ -1206,11 +1206,11 @@
}
}
/*
* FUNCAO: funcao responsavel pela verificacao dos arquivos anexados
* FUNCAO: funcao responsavel pela verificacao dos arquivos anexados
(XLS, XLSX, ODS)
*
*/
function
verificarArquivoAnexado_xls_xlsx_ods
(
item
){
/*
if(item.files[0].type.split('/')[1] != "xls" ){
if
(
item
.
files
[
0
]
.
type
.
split
(
'/'
)[
1
]
!=
"xls"
||
item
.
files
[
0
]
.
type
.
split
(
'/'
)[
1
]
!=
"xlsx"
||
item
.
files
[
0
]
.
type
.
split
(
'/'
)[
1
]
!=
"ods"
){
document
.
getElementById
(
"idCorCabecalhoModalDocumento"
)
.
style
.
backgroundColor
=
"red"
;
document
.
getElementById
(
"idTituloDaMensagemModalDocumento"
)
.
innerHTML
=
"O arquivo deve ser no formato XLS, XLSX ou OCD "
;
document
.
getElementById
(
item
.
id
)
.
value
=
""
;
...
...
@@ -1230,7 +1230,7 @@ function verificarArquivoAnexado_xls_xlsx_ods(item){
document
.
getElementById
(
"idTituloDaMensagemModalDocumento"
)
.
innerHTML
=
"O arquivo selecionado é maior que 2MB!"
;
document
.
getElementById
(
item
.
id
)
.
value
=
""
;
$
(
"#exampleModalAnexarDocumento"
)
.
modal
({
show
:
true
});
}
*/
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment