[BUG/FIX] lp:707906

lp bug: https://launchpad.net/bugs/707906 fixed

bzr revid: jam@tinyerp.com-20110128085356-1bcr6apwu7o5u0bi
This commit is contained in:
jam-openerp 2011-01-28 14:23:56 +05:30
parent 0109ea2adb
commit 44df5025df
4 changed files with 7 additions and 5 deletions

View File

@ -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;
}

View File

@ -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,{});