Browse Source

url encode

master
Pascal Gloor 5 years ago
parent
commit
d97edd6f7e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      www/js/autodoc.js

+ 1
- 1
www/js/autodoc.js View File

function document_update_name(docid, name) { function document_update_name(docid, name) {
$.ajax({ $.ajax({
type: "PATCH", type: "PATCH",
url: conf.openapi + "/documents/" + docid + "?name=" + name,
url: conf.openapi + "/documents/" + docid + "?name=" + encodeURIComponent(name),
data: null, data: null,
success: function(data) { success: function(data) {



Loading…
Cancel
Save