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
3a00c532
Commit
3a00c532
authored
Apr 30, 2019
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correccion lista padre
parent
1921b256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
templates/backend/listas/editar.html.twig
templates/backend/listas/editar.html.twig
+4
-3
No files found.
templates/backend/listas/editar.html.twig
View file @
3a00c532
...
...
@@ -284,13 +284,14 @@
var
that
=
this
;
var
url
=
"
{{
path
(
'app_backend_lista_editar_editar'
)
}}
"
;
var
formData
=
new
FormData
();
var
actualPadreId
=
"
none
"
;
$
(
"
#btnEditarLista
"
).
addClass
(
'
disabled
'
);
$
(
"
#btnEditarLista
"
).
button
(
"
editando....
"
);
if
(
$
(
"
#actualPadreId
"
).
val
()
===
""
)
{
var
actualPadreId
=
"
none
"
;
actualPadreId
=
"
none
"
;
}
else
{
var
actualPadreId
=
$
(
"
#actualPadreId
"
).
val
();
actualPadreId
=
$
(
"
#actualPadreId
"
).
val
();
}
formData
.
append
(
"
lisVigenciaInicio
"
,
$
(
'
#vigencia
'
).
data
(
'
daterangepicker
'
).
startDate
.
format
(
'
YYYY-MM-DD
'
));
...
...
@@ -317,7 +318,7 @@
formData
.
append
(
"
lisWapPushServiceTag
"
,
$
(
"
#lisWapPushServiceTag
"
).
val
());
//
formData
.
append
(
"
lisTag
"
,
$
(
"
#tags
"
).
val
());
formData
.
append
(
"
padreId
"
,
$
(
"
#padres
"
).
val
()
);
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
());
...
...
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