[IMP]: Minor improvement
bzr revid: ksa@tinyerp.co.in-20100813130019-1daiedcngcigupj8
This commit is contained in:
parent
fd2d2e8325
commit
e93e697df7
Binary file not shown.
|
@ -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");
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue