Selaa lähdekoodia

[fix] make map_current_doc a POST request

version-14
Anand Doshi 9 vuotta sitten
vanhempi
commit
d792ba7abf
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. +3
    -1
      frappe/public/js/frappe/model/create_new.js

+ 3
- 1
frappe/public/js/frappe/model/create_new.js Näytä tiedosto

@@ -241,7 +241,9 @@ $.extend(frappe.model, {
}
var _map = function() {
return frappe.call({
type: "GET",
// Sometimes we hit the limit for URL length of a GET request
// as we send the full target_doc. Hence this is a POST request.
type: "POST",
method: opts.method,
args: {
"source_name": opts.source_name,


Ladataan…
Peruuta
Tallenna