mirror of https://github.com/OCA/web.git
[FIX] change icon path from /static/src/img to /static/description see : https://github.com/OCA/web/pull/18#issuecomment-50164937
parent
6856ea47a1
commit
13faa4066d
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 112 B After Width: | Height: | Size: 112 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue