From 9d2980ec30fa001049ca32fabae58d2ec1edfb41 Mon Sep 17 00:00:00 2001 From: "ksa (Open ERP)" Date: Tue, 5 Oct 2010 14:16:43 +0530 Subject: [IMP]: Improvement url path and usability bzr revid: ksa@tinyerp.co.in-20101005084643-5j2exbk080e34jh9 --- addons/thunderbird/plugin/openerp_plugin.xpi | Bin 155087 -> 155025 bytes .../openerp_plugin/chrome/openerp_plugin.jar | Bin 73030 -> 72999 bytes .../chrome/openerp_plugin/content/overlay.js | 8 ++------ .../chrome/openerp_plugin/locale/en-US/config.dtd | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) (limited to 'addons/thunderbird/plugin') diff --git a/addons/thunderbird/plugin/openerp_plugin.xpi b/addons/thunderbird/plugin/openerp_plugin.xpi index a494ea620ac..3070c582ecb 100644 Binary files a/addons/thunderbird/plugin/openerp_plugin.xpi and b/addons/thunderbird/plugin/openerp_plugin.xpi differ diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar index 97fef73e234..64ed5f4b7bf 100644 Binary files a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar and b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin.jar differ diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js index bd2fe506c3b..d028b4ab3ef 100755 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js +++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/content/overlay.js @@ -195,11 +195,9 @@ var openPartnerHandler = { if(strlSearchResult=="partner_id"){ partner_id = strlSearchResultValue; weburl = getWebServerURL(); - webport = getwebPort(); - var urlport = weburl+':'+webport if (parseInt(partner_id) > 0){ - var t = urlport + "/openerp/form/view?model=res.partner&id="+partner_id; + var t = weburl + "/openerp/form/view?model=res.partner&id="+partner_id; alert(t + ":" + " " + "\n\n" + "You can copy this URL into your WebBrowser if URL is not redirected automatic."); window.open(t); @@ -304,10 +302,8 @@ var listDocumentHandler = { res_id = res.QueryElementAt(1, Components.interfaces.nsISupportsPRInt32); model = res.QueryElementAt(0, Components.interfaces.nsISupportsCString); weburl = getWebServerURL(); - webport = getwebPort(); - var urlport = weburl+':'+webport; - var t = urlport + "/openerp/form/view?model=" + model +"&id=" + res_id; + var t = weburl + "/openerp/form/view?model=" + model +"&id=" + res_id; alert(t + ":" + " " + "\n\n" + "You can copy this URL into your WebBrowser if URL is not redirected automatic."); window.open(t); diff --git a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd index d7c602d9b11..d3a2ae7c8c4 100755 --- a/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd +++ b/addons/thunderbird/plugin/openerp_plugin/chrome/openerp_plugin/locale/en-US/config.dtd @@ -5,7 +5,7 @@ - + -- cgit v1.2.3