[IMP]: Improve code

bzr revid: ksa@tinyerp.co.in-20101004125334-9cie7pxp0ofynifo
This commit is contained in:
ksa (Open ERP) 2010-10-04 18:23:34 +05:30
parent f0c1a50d3c
commit 3f22760991
3 changed files with 0 additions and 19 deletions

View File

@ -1783,24 +1783,6 @@ var listLoginHandler = {
}
var listLoginwebHandler = {
onResult: function(client, context, result) {
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect UniversalBrowserAccess');
weburl = getWebServerURL();
var urlport = weburl
alert(urlport + ":" + " " + "\n\n" + "You can copy this URL into your WebBrowser if URL is not redirected automatic.");
window.open(t);
},
onFault: function (client, ctxt, fault) {
},
onError: function (client, ctxt, status, errorMsg) {
alert("Database does not Exist!\n\n Please specify proper database name.");
}
}
//function to check the login information
function testConnection(){
if (getconnect_server() == "false")
@ -1853,7 +1835,6 @@ function testConnection_web(){
alert(urlport + " " + "\n\n" + "You can copy this URL into your WebBrowser if URL is not redirected automatic.");
window.close();
window.open(urlport);
xmlRpcClient.asyncCall(listLoginwebHandler,null,'login',[strwebName],1);
}