Selaa lähdekoodia

get post fix

version-14
Rushabh Mehta 12 vuotta sitten
vanhempi
commit
0542f652fb
2 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. +1
    -0
      public/js/wn/request.js
  2. +1
    -0
      webnotes/handler.py

+ 1
- 0
public/js/wn/request.js Näytä tiedosto

@@ -52,6 +52,7 @@ wn.call = function(opts) {
}

wn.request.call({
type: opts.type || "POST",
args: args,
success: opts.callback,
error: opts.error,


+ 1
- 0
webnotes/handler.py Näytä tiedosto

@@ -157,6 +157,7 @@ def handle():
# login executed in webnotes.auth
if webnotes.request_method == "POST":
webnotes.conn.begin()
try:
execute_cmd(cmd)
except webnotes.ValidationError, e:


Ladataan…
Peruuta
Tallenna