master
inpos 2018-08-17 16:43:38 +03:00
parent 9f3984af01
commit 365d54c2f2
2 changed files with 0 additions and 2 deletions

View File

@ -9,7 +9,6 @@ def js_ajax(fn, arg_dict = {}, f_type=js.js_procedure):
func_args = ',\n'.join(['\'{k}\': {v}'.format( k = k,v = js.encode(v) ) for k,v in arg_dict.items()]) func_args = ',\n'.join(['\'{k}\': {v}'.format( k = k,v = js.encode(v) ) for k,v in arg_dict.items()])
if func_args != '': if func_args != '':
func_args = ',\n' + func_args func_args = ',\n' + func_args
print(func_args)
return f_type(i, ajax_args=func_args) return f_type(i, ajax_args=func_args)
js.js_ajax = js_ajax js.js_ajax = js_ajax

View File

@ -1 +0,0 @@
from orun.extjs import Ext, js