Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
musica_listas_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
musica_listas_backend
Commits
a79842eb
Commit
a79842eb
authored
Aug 13, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correccion edicion lista BLOB
parent
11473441
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
templates/backend/listas/editar.html.twig
templates/backend/listas/editar.html.twig
+4
-2
No files found.
templates/backend/listas/editar.html.twig
View file @
a79842eb
...
...
@@ -292,7 +292,7 @@
}
else
{
actualPadreId
=
$
(
"
#actualPadreId
"
).
val
();
}
console
.
log
(
this
.
file
);
formData
.
append
(
"
lisVigenciaInicio
"
,
$
(
'
#vigencia
'
).
data
(
'
daterangepicker
'
).
startDate
.
format
(
'
YYYY-MM-DD
'
));
formData
.
append
(
"
lisVigenciaFin
"
,
$
(
'
#vigencia
'
).
data
(
'
daterangepicker
'
).
endDate
.
format
(
'
YYYY-MM-DD
'
));
formData
.
append
(
"
lisNombre
"
,
$
(
"
#lisNombre
"
).
val
());
...
...
@@ -320,7 +320,9 @@
formData
.
append
(
"
padreId
"
,
typeof
$
(
"
#padres
"
).
val
()
!==
'
undefined
'
?
$
(
"
#padres
"
).
val
()
:
"
default
"
);
formData
.
append
(
"
actualPadreId
"
,
actualPadreId
);
formData
.
append
(
"
token
"
,
$
(
"
#_csrf_token
"
).
val
());
formData
.
append
(
"
lisImagen
"
,
this
.
file
,
this
.
getName
());
if
(
this
.
file
!=
null
){
formData
.
append
(
"
lisImagen
"
,
this
.
file
,
this
.
getName
());
}
formData
.
append
(
"
lisId
"
,
$
(
"
#lisId
"
).
val
());
formData
.
append
(
"
upload_file
"
,
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