From 645ee267ba312bbd4ed353a7995c241b2212cc18 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 2 Mar 2012 15:15:15 +0530 Subject: [PATCH] send docs --- js/all-app.js | 2 +- js/all-web.js | 2 +- version.num | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/js/all-app.js b/js/all-app.js index f3dbb6dfcc..c27014a6ac 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);args:{cmd:'runserverobj',arg:arg,method:method,},if(typeof doclist=='string') +function $c_obj(doclist,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);args={cmd:'runserverobj',arg:arg,method:method};if(typeof doclist=='string') args.doctype=doclist;else args.docs=compress_doclist(doclist) wn.request.call({args:args diff --git a/js/all-web.js b/js/all-web.js index 8392b06151..66b0bce505 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);args:{cmd:'runserverobj',arg:arg,method:method,},if(typeof doclist=='string') +function $c_obj(doclist,method,arg,callback,no_spinner,freeze_msg,btn){if(typeof arg=='string')arg=JSON.stringify(arg);args={cmd:'runserverobj',arg:arg,method:method};if(typeof doclist=='string') args.doctype=doclist;else args.docs=compress_doclist(doclist) wn.request.call({args:args diff --git a/version.num b/version.num index 7e0a9d2ab7..e7fd4bfbe1 100644 --- a/version.num +++ b/version.num @@ -1 +1 @@ -837 \ No newline at end of file +838 \ No newline at end of file