Browse Source

[fix] make map_current_doc a POST request

version-14
Anand Doshi 9 years ago
parent
commit
d792ba7abf
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      frappe/public/js/frappe/model/create_new.js

+ 3
- 1
frappe/public/js/frappe/model/create_new.js View File

@@ -241,7 +241,9 @@ $.extend(frappe.model, {
} }
var _map = function() { var _map = function() {
return frappe.call({ 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, method: opts.method,
args: { args: {
"source_name": opts.source_name, "source_name": opts.source_name,


Loading…
Cancel
Save