[IMP]: Minor improvement

bzr revid: ksa@tinyerp.co.in-20100813130019-1daiedcngcigupj8
This commit is contained in:
ksa (Open ERP) 2010-08-13 18:30:19 +05:30
parent fd2d2e8325
commit e93e697df7
5 changed files with 10 additions and 10 deletions

View File

@ -21,7 +21,7 @@ function searchmail()
setTimeout("module_install()", 10000) setTimeout("module_install()", 10000)
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService); var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
@ -159,7 +159,7 @@ function searchmail()
att =getAttachValue() att =getAttachValue()
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes"); window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
@ -170,7 +170,7 @@ function searchmail()
{ {
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes"); window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
@ -188,7 +188,7 @@ function open_contact()
setTimeout("module_install()", 10000) setTimeout("module_install()", 10000)
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){ if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){
@ -235,7 +235,7 @@ function open_contact()
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes"); window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes");

View File

@ -21,7 +21,7 @@ function searchmail()
setTimeout("module_install()", 10000) setTimeout("module_install()", 10000)
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService); var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
@ -159,7 +159,7 @@ function searchmail()
att =getAttachValue() att =getAttachValue()
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes"); window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
@ -170,7 +170,7 @@ function searchmail()
{ {
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes"); window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
@ -188,7 +188,7 @@ function open_contact()
setTimeout("module_install()", 10000) setTimeout("module_install()", 10000)
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){ if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){
@ -235,7 +235,7 @@ function open_contact()
if (getmodule_install() == "no") if (getmodule_install() == "no")
{ {
alert("Please install the thunderbird module on your '" + getDbName() +"' database Or try again !"); alert("Please install the thunderbird module on your '" + getDbName() +"' database and try again !");
return false return false
} }
window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes"); window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes");