From 8f7be86435cd39fda4c99ea22c78474fa35ff236 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 8 Jul 2013 11:30:10 +0530 Subject: [PATCH] [runserverobj] fix: map arguments from 'args' or 'arg' --- webnotes/widgets/form/run_method.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webnotes/widgets/form/run_method.py b/webnotes/widgets/form/run_method.py index b0f45454ec..00a9a14c16 100644 --- a/webnotes/widgets/form/run_method.py +++ b/webnotes/widgets/form/run_method.py @@ -35,7 +35,7 @@ def runserverobj(): wrapper = None method = webnotes.form_dict.get('method') - arg = webnotes.form_dict.get('args') + arg = webnotes.form_dict.get('args', webnotes.form_dict.get("arg")) dt = webnotes.form_dict.get('doctype') dn = webnotes.form_dict.get('docname')