[BUG/FIX] lp:707906
lp bug: https://launchpad.net/bugs/707906 fixed bzr revid: jam@tinyerp.com-20110128085356-1bcr6apwu7o5u0bi
This commit is contained in:
parent
0109ea2adb
commit
44df5025df
Binary file not shown.
Binary file not shown.
|
@ -196,12 +196,15 @@ function getPredefinedFolder(type) {
|
|||
|
||||
var fname = msgDate8601string+"-"+subj+"-"+hdr.messageKey;
|
||||
}
|
||||
var rand1=Math.floor(Math.random()*100000)
|
||||
var rand2=Math.floor(Math.random()*100000)
|
||||
fname = rand1+'openerp-eml'+rand2
|
||||
setFileName(fname)
|
||||
fname = fname.replace(/[\x00-\x19]/g,"_");
|
||||
if (mustcorrectname)
|
||||
fname = nametoascii(fname);
|
||||
else
|
||||
fname = fname.replace(/[\/\\:,<>*\?\"\|]/g,"_");
|
||||
// if (mustcorrectname)
|
||||
// fname = nametoascii(fname);
|
||||
// else
|
||||
// fname = fname.replace(/[\/\\:,<>*\?\"\|]/g,"_");
|
||||
return fname;
|
||||
}
|
||||
|
||||
|
|
|
@ -1389,7 +1389,6 @@ function getPartnerList(){
|
|||
xmlRpcClient.asyncCall(listPartnerHandler,cmdPartnerList,'execute',[ strDbName,struid,strpass,strobj,strmethod,strvalue ],6);
|
||||
}
|
||||
|
||||
|
||||
//function to create the xmlrpc supported variables for xmlrpc request
|
||||
function dictcontact(a,b){
|
||||
var temp = xmlRpcClient.createType(xmlRpcClient.ARRAY,{});
|
||||
|
|
Loading…
Reference in New Issue