Changeset 97cbd49 in prototipo_portal_2018


Ignore:
Timestamp:
Oct 26, 2017, 11:04:52 AM (7 years ago)
Author:
Antonio Araujo <aaraujo@…>
Branches:
master
Children:
5de7549
Parents:
568ba30
Message:

Agregada configuración en llamadas de ajax para mantener sesión.

File:
1 edited

Legend:

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

    r327fd70 r97cbd49  
    1414        contentType: false,
    1515                processData: false,
     16                xhrFields: {withCredentials: true},
    1617                headers: {"Authorization":"Basic YWRtaW46YWRtaW4="},
    1718                success: function(response) {
     
    3334                                        "location":"CENDITEL",
    3435                                        "contact":"582746574336",
    35                                         "signatureVisible":"true",
    36                                         "page": VALOR_PAGE,
    37                                         "coord_x": VALOR_X,
    38                                         "coord_y": VALOR_Y
     36                                        "signatureVisible":"true"
     37                                        //"page": VALOR_PAGE,
     38                                        //"coord_x": VALOR_X,
     39                                        //"coord_y": VALOR_Y
    3940                                        });
    4041                               
     
    4748                                        dataType: "json",
    4849                                        data: parameters,               
     50                                        xhrFields: {withCredentials: true},
    4951                                        headers: {"Authorization":"Basic YWRtaW46YWRtaW4="},
    5052                                        success: function(data, textStatus, jqXHR){
     
    6567                                                                dataType: 'json',
    6668                                                                data: JSON.stringify({"signature":signature.hex}),
     69                                                                xhrFields: {withCredentials: true},
    6770                                                                headers: {"Authorization":"Basic YWRtaW46YWRtaW4="},
    6871                                                                success: function(data, textStatus, jqXHR){
Note: See TracChangeset for help on using the changeset viewer.