Changeset c1f6510 in prototipo_portal_2018 for prototipo/static/js/functions


Ignore:
Timestamp:
Nov 6, 2017, 10:57:31 AM (7 years ago)
Author:
José Sulbarán <jsulbaran@…>
Branches:
master
Children:
8dcf31e
Parents:
5de7549
Message:

Agregando funcionalidad de verificar

Location:
prototipo/static/js/functions
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • prototipo/static/js/functions/firmarDocumentoPdf.js

    r5de7549 rc1f6510  
    184184
    185185// Primer paso (Subir el documento al servidor)
    186 function SubirDocumentServer(){
    187 
    188         var formData = new FormData();
    189     formData.append("upload", $("#file-sign-ft_Vble")[0].files[0]);
     186function SubirDocumentServer(formData){
    190187
    191188    $.ajax({
     
    217214$("#Form-Format-Visible").on('submit', function(event) {
    218215        event.preventDefault();
    219         SubirDocumentServer();
     216
     217        var formData = new FormData();
     218    formData.append("upload", $("#file-sign-ft_Vble")[0].files[0]);     
     219        SubirDocumentServer(formData);
    220220});
Note: See TracChangeset for help on using the changeset viewer.