Parcourir la source

get post fix

version-14
Rushabh Mehta il y a 12 ans
Parent
révision
0542f652fb
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +1
    -0
      public/js/wn/request.js
  2. +1
    -0
      webnotes/handler.py

+ 1
- 0
public/js/wn/request.js Voir le fichier

@@ -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 Voir le fichier

@@ -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:


Chargement…
Annuler
Enregistrer