Skip to content

Commit

Permalink
Merge pull request #136 from globocom/develop
Browse files Browse the repository at this point in the history
changed confirm to alert
  • Loading branch information
renanlopes97s authored Mar 20, 2023
2 parents 8d8a73f + 543aa4e commit b1f291b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CadVlan/Vlan/static/js/exportToCSV.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function exportToCSV(method, url, fileName) {
let subnet = ""

if (ipVersion == environment == netType == number.length == name.length == oct1.length == oct2.length == oct3.length == oct4.length == oct5.length == oct6.length == oct7.length == oct8.length == 0){
window.confirm("Por favor faça uma busca mais específica. Buscas com todos os filtros em branco não são elegíveis para uma exportação de arquivos CSV.")
window.alert("Por favor faça uma busca mais específica. Buscas com todos os filtros em branco não são elegíveis para uma exportação de arquivos CSV.")
let btnExport = document.getElementById("exportCSV")

btnExport.setAttribute("disabled", "true")
Expand Down

0 comments on commit b1f291b

Please sign in to comment.