Procházet zdrojové kódy

[runserverobj] fix: map arguments from 'args' or 'arg'

version-14
Rushabh Mehta před 12 roky
rodič
revize
8f7be86435
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      webnotes/widgets/form/run_method.py

+ 1
- 1
webnotes/widgets/form/run_method.py Zobrazit soubor

@@ -35,7 +35,7 @@ def runserverobj():


wrapper = None wrapper = None
method = webnotes.form_dict.get('method') 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') dt = webnotes.form_dict.get('doctype')
dn = webnotes.form_dict.get('docname') dn = webnotes.form_dict.get('docname')


Načítá se…
Zrušit
Uložit