diff --git a/js/all-app.js b/js/all-app.js index 9c5bd1cb60..698e156e37 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -420,7 +420,7 @@ get_url_arg=wn.urllib.get_arg;get_url_dict=wn.urllib.get_dict; * lib/js/legacy/utils/handler.js */ function $c(command,args,callback,error,no_spinner,freeze_msg,btn){wn.request.call({args:$.extend(args,{cmd:command}),success:callback,error:error,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner})} -function $c_obj(doclist,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);wn.request.call({args:{cmd:'runserverobj',arg:arg,method:method,docs:doclist},success:callback,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner});} +function $c_obj(doclist,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);wn.request.call({args:{cmd:'runserverobj',arg:arg,method:method,docs:JSON.stringify(doclist)},success:callback,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner});} function $c_page(module,page,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);wn.request.call({args:{cmd:module+'.page.'+page+'.'+page+'.'+method,arg:arg,method:method},success:callback,error:error,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner});} function $c_obj_csv(doclist,method,arg){var args={} args.cmd='runserverobj';args.as_csv=1;args.method=method;args.arg=arg;if(doclist.substr) diff --git a/js/all-web.js b/js/all-web.js index 9cb1288194..ea49678b5e 100644 --- a/js/all-web.js +++ b/js/all-web.js @@ -366,7 +366,7 @@ get_url_arg=wn.urllib.get_arg;get_url_dict=wn.urllib.get_dict; * lib/js/legacy/utils/handler.js */ function $c(command,args,callback,error,no_spinner,freeze_msg,btn){wn.request.call({args:$.extend(args,{cmd:command}),success:callback,error:error,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner})} -function $c_obj(doclist,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);wn.request.call({args:{cmd:'runserverobj',arg:arg,method:method,docs:doclist},success:callback,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner});} +function $c_obj(doclist,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);wn.request.call({args:{cmd:'runserverobj',arg:arg,method:method,docs:JSON.stringify(doclist)},success:callback,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner});} function $c_page(module,page,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);wn.request.call({args:{cmd:module+'.page.'+page+'.'+page+'.'+method,arg:arg,method:method},success:callback,error:error,btn:btn,freeze:freeze_msg,show_spinner:!no_spinner});} function $c_obj_csv(doclist,method,arg){var args={} args.cmd='runserverobj';args.as_csv=1;args.method=method;args.arg=arg;if(doclist.substr) diff --git a/version.num b/version.num index f3daf1d568..7b37641338 100644 --- a/version.num +++ b/version.num @@ -1 +1 @@ -835 \ No newline at end of file +836 \ No newline at end of file