// Porting more product tpl

This commit is contained in:
Kevin Granger
2013-07-09 19:10:56 +02:00
parent 1f33638f32
commit ec466b8c70
13 changed files with 453 additions and 388 deletions
+16 -1
View File
@@ -132,6 +132,12 @@ function changeLanguage(field, fieldsString, id_language_new, iso_code)
id_language = id_language_new;
}
function changeFormLanguage(id_language_new, iso_code, employee_cookie)
{
$('.translatable').each(function() {
@@ -997,4 +1003,13 @@ function quickSelect(elt)
window.open(eltVal.substr(0, eltVal.length - 6), '_blank');
else
location.href = eltVal;
}
}
//bootstrap BO New fonctions
function hideOtherLanguage(id){
$('.translatable-field').hide();
$('.lang-'+id).show();
}