Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 78142989
authored
2025-01-28 19:46:27 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Modificacion de snap segun pedido de incidente
1 parent
7cb46545
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
protected_static/snaper.js
protected_static/snaper.js
View file @
7814298
...
...
@@ -5,7 +5,7 @@ window.allFieldsToJson = function allFieldsToJson() {
fields
.
forEach
(
field
=>
{
const
key
=
field
.
name
;
// || field.id; // Usa el nombre del campo, o su ID si no tiene nombre
const
value
=
field
.
value
;
const
ignorar
=
[
"?"
,
""
,
"---"
,
false
,
"-"
,]
const
ignorar
=
[
"?"
];
//["?"
,"","---",false,"-",]
if
(
!
ignorar
.
includes
(
value
)){
// Si la clave ya existe (por ejemplo, en caso de checkboxes o radios con el mismo nombre)
if
(
data
.
hasOwnProperty
(
key
))
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment