[IMP] Thunderbird plugin improvements
bzr revid: vir@tinyerp.com-20100813134933-mt2ndcs1839x21ja
This commit is contained in:
Binary file not shown.
@@ -21,7 +21,7 @@ function searchmail()
|
||||
setTimeout("module_install()", 10000)
|
||||
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
|
||||
}
|
||||
var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
|
||||
@@ -159,7 +159,7 @@ function searchmail()
|
||||
att =getAttachValue()
|
||||
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
|
||||
}
|
||||
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
|
||||
@@ -170,7 +170,7 @@ function searchmail()
|
||||
{
|
||||
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
|
||||
}
|
||||
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
|
||||
@@ -188,7 +188,7 @@ function open_contact()
|
||||
setTimeout("module_install()", 10000)
|
||||
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
|
||||
}
|
||||
if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){
|
||||
@@ -235,7 +235,7 @@ function open_contact()
|
||||
|
||||
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
|
||||
}
|
||||
window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes");
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<image src='chrome://tiny_plugin/skin/perform.gif'/>
|
||||
<checkbox id="cbxselectall" oncommand="selectAllCheckbox();" label="&cbxselectall.label;" checked="false"/>
|
||||
<checkbox id="cbxselectall" oncommand="selectAllCheckbox();" checked="false"/>
|
||||
<caption label="&cbxselectall.label;" />
|
||||
<spacer width="10"/>
|
||||
|
||||
</hbox>
|
||||
@@ -44,7 +45,7 @@
|
||||
</listbox>
|
||||
<hbox>
|
||||
<spacer width="360"/>
|
||||
<button label="&attach.label;" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('upload');"/>
|
||||
<button label="&attach.label;" accesskey="u" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('upload');"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
@@ -68,21 +69,19 @@
|
||||
<label id="lblsection" value=" "/>
|
||||
<separator class="groove-thin" orient="horizontal" width="180"/>
|
||||
|
||||
<tabpanels>
|
||||
<tabpanel id="contact">
|
||||
|
||||
<hbox>
|
||||
<label id="lblsection" control="section" value="&partner.label;"/>
|
||||
<vbox>
|
||||
<button label="&create.label;" accesskey="r" image="&imagecreate.value;" oncommand="Create.onMenuItemCommand(event);"/>
|
||||
<button label="&create.label;" image="&imagecreate.value;" oncommand="Create.onMenuItemCommand(event);"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
|
||||
</groupbox>
|
||||
<label id="lblex" value=" "/>
|
||||
<label id="lblex" value=" "/>
|
||||
<hbox align="right">
|
||||
<spacer width="360"/>
|
||||
<spacer width="330"/>
|
||||
<button label="&close.label;" accesskey="l" image="&imagecancel.value;" oncommand="win_close();"/>
|
||||
</hbox>
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -21,7 +21,7 @@ function searchmail()
|
||||
setTimeout("module_install()", 10000)
|
||||
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
|
||||
}
|
||||
var prefService = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService);
|
||||
@@ -159,7 +159,7 @@ function searchmail()
|
||||
att =getAttachValue()
|
||||
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
|
||||
}
|
||||
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
|
||||
@@ -170,7 +170,7 @@ function searchmail()
|
||||
{
|
||||
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
|
||||
}
|
||||
window.open("chrome://openerp_plugin/content/plugin.xul", "", "chrome, resizable=yes");
|
||||
@@ -188,7 +188,7 @@ function open_contact()
|
||||
setTimeout("module_install()", 10000)
|
||||
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
|
||||
}
|
||||
if(GetNumSelectedMessages() < 1 || GetNumSelectedMessages() > 1){
|
||||
@@ -235,7 +235,7 @@ function open_contact()
|
||||
|
||||
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
|
||||
}
|
||||
window.open("chrome://openerp_plugin/content/address.xul", "", "chrome, resizable=yes");
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
</vbox>
|
||||
<hbox align="center">
|
||||
<image src='chrome://tiny_plugin/skin/perform.gif'/>
|
||||
<checkbox id="cbxselectall" oncommand="selectAllCheckbox();" label="&cbxselectall.label;" checked="false"/>
|
||||
<checkbox id="cbxselectall" oncommand="selectAllCheckbox();" checked="false"/>
|
||||
<caption label="&cbxselectall.label;" />
|
||||
<spacer width="10"/>
|
||||
|
||||
</hbox>
|
||||
@@ -44,7 +45,7 @@
|
||||
</listbox>
|
||||
<hbox>
|
||||
<spacer width="360"/>
|
||||
<button label="&attach.label;" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('upload');"/>
|
||||
<button label="&attach.label;" accesskey="u" image="&imagearchive.value;" oncommand="attachmentWidnowOpen('upload');"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
@@ -68,21 +69,19 @@
|
||||
<label id="lblsection" value=" "/>
|
||||
<separator class="groove-thin" orient="horizontal" width="180"/>
|
||||
|
||||
<tabpanels>
|
||||
<tabpanel id="contact">
|
||||
|
||||
<hbox>
|
||||
<label id="lblsection" control="section" value="&partner.label;"/>
|
||||
<vbox>
|
||||
<button label="&create.label;" accesskey="r" image="&imagecreate.value;" oncommand="Create.onMenuItemCommand(event);"/>
|
||||
<button label="&create.label;" image="&imagecreate.value;" oncommand="Create.onMenuItemCommand(event);"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
|
||||
</groupbox>
|
||||
<label id="lblex" value=" "/>
|
||||
<label id="lblex" value=" "/>
|
||||
<hbox align="right">
|
||||
<spacer width="360"/>
|
||||
<spacer width="330"/>
|
||||
<button label="&close.label;" accesskey="l" image="&imagecancel.value;" oncommand="win_close();"/>
|
||||
</hbox>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user