Changeset 30381


Ignore:
Timestamp:
2016-02-24T10:17:36+13:00 (7 years ago)
Author:
Georgiy Litvinov
Message:

Fix for suddenly appeared encoding problems with ajax POST requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/documentmaker_scripts_util.js

    r30309 r30381  
    231231        var ajax = new gs.functions.ajaxRequest();
    232232        ajax.open("POST", gs.xsltParams.library_name, true);
    233         ajax.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
     233        ajax.setRequestHeader("Content-type", "application/x-www-form-urlencoded; charset=UTF-8");
    234234        ajax.onreadystatechange = function()
    235235        {
Note: See TracChangeset for help on using the changeset viewer.