Browse Source

get post fix

version-14
Rushabh Mehta 12 years ago
parent
commit
0542f652fb
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      public/js/wn/request.js
  2. +1
    -0
      webnotes/handler.py

+ 1
- 0
public/js/wn/request.js View File

@@ -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 View File

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


Loading…
Cancel
Save