Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nutrapharm_producto
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
nutrapharm_producto
Commits
533fb907
Commit
533fb907
authored
Sep 10, 2020
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cambios
parent
8b47e32d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
app/Resources/views/producto_final/landing_producto.html.twig
...Resources/views/producto_final/landing_producto.html.twig
+2
-1
app/Resources/views/producto_final/landing_producto_generar_comparacion.html.twig
...ucto_final/landing_producto_generar_comparacion.html.twig
+3
-1
No files found.
app/Resources/views/producto_final/landing_producto.html.twig
View file @
533fb907
...
...
@@ -180,7 +180,7 @@
var
url
=
"
{{
path
(
'nutrapharm_upload'
)
}}
"
;
var
formData
=
new
FormData
();
$
(
"
#btnGuardar
"
).
prop
(
"
disabled
"
,
true
);
$
(
"
#btnGuardar
"
).
html
(
"
Procesando...
"
);
if
(
imagenTomada
==
true
&&
imagenSubida
==
false
)
{
formData
.
append
(
"
upload_file
"
,
0
);
formData
.
append
(
"
imagen
"
,
$
(
"
#photo
"
).
attr
(
'
src
'
));
...
...
@@ -234,6 +234,7 @@
},
complete
:
function
(
data
)
{
$
(
"
#btnGuardar
"
).
prop
(
"
disabled
"
,
false
);
$
(
"
#btnGuardar
"
).
html
(
"
Finalizar
"
);
}
});
};
...
...
app/Resources/views/producto_final/landing_producto_generar_comparacion.html.twig
View file @
533fb907
...
...
@@ -195,6 +195,7 @@
var
url
=
"
{{
path
(
'nutrapharm_upload'
)
}}
"
;
var
formData
=
new
FormData
();
$
(
"
#btnGuardar
"
).
prop
(
"
disabled
"
,
true
);
$
(
"
#btnGuardar
"
).
html
(
"
Procesando...
"
);
if
(
imagenTomada
==
true
&&
imagenSubida
==
false
)
{
formData
.
append
(
"
upload_file
"
,
0
);
...
...
@@ -249,6 +250,7 @@
},
complete
:
function
(
data
)
{
$
(
"
#btnGuardar
"
).
prop
(
"
disabled
"
,
false
);
$
(
"
#btnGuardar
"
).
html
(
"
Finalizar
"
);
}
});
};
...
...
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