Changeset a210970 in prototipo_portal_2018 for prototipo/static/js/functions/firmarDocumentoPdf.js


Ignore:
Timestamp:
Nov 13, 2017, 11:29:58 AM (7 years ago)
Author:
José Sulbarán <jsulbaran@…>
Branches:
master
Children:
9be8a48
Parents:
025e022
Message:

Se agrego la funcionalidad de la firma bdoc y se modifico el datatable

File:
1 edited

Legend:

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

    r025e022 ra210970  
    4444                        }       
    4545
    46                         $('#myJson_wrapper').show();
     46                        $('table#myJson_wrapper').show();
    4747        },
    4848        error: function(jqXHR, textStatus, errorThrown){
     
    6767                success: function(data, textStatus, jqXHR){
    6868
    69                         alert('Archivo firmado correctamente: ' + data['signedFileId']);
    7069                        var linkToDownload = "<a href=\"https://murachi.cenditel.gob.ve/Murachi/0.1/archivos/descargas/" + data['signedFileId'] +"\">descargar archivo firmado</a>";
    71                         //alert(linkToDownload);
    72                         document.getElementById("respuesta").innerHTML = linkToDownload;       
     70                        document.getElementById("respuesta").innerHTML = 'Archivo firmado correctamente: ' + data['signedFileId']+ '<br>' +linkToDownload;     
     71
    7372                        $("#firmar-documento").hide();
    7473                        $("#pdf-main-container").hide();
Note: See TracChangeset for help on using the changeset viewer.