[FIX] change icon path from /static/src/img to /static/description see : https://github.com/OCA/web/pull/18#issuecomment-50164937

pull/18/head
Adil Houmadi 2014-07-26 13:17:29 +02:00
parent 6856ea47a1
commit 13faa4066d
4 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 112 B

View File

Before

Width:  |  Height:  |  Size: 445 B

After

Width:  |  Height:  |  Size: 445 B

View File

@ -118,10 +118,10 @@ openerp.web_easy_switch_company = function (instance) {
id: res_company[i][0]
});
if (res_company[i][0] == self.current_company_id){
logo_state = '/web_easy_switch_company/static/src/img/selection-on.png';
logo_state = '/web_easy_switch_company/static/description/selection-on.png';
}
else{
logo_state = '/web_easy_switch_company/static/src/img/selection-off.png';
logo_state = '/web_easy_switch_company/static/description/selection-off.png';
}
self.companies.push({
id: res_company[i][0],