From 6f483a87a9e469a88c4f5cd01efa68ced26c6256 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Thu, 19 Sep 2013 17:38:07 +0200 Subject: [PATCH] // Fix hide language on ajax load --- .../default/template/controllers/products/attachments.tpl | 1 + .../default/template/controllers/products/features.tpl | 5 ++++- .../default/template/controllers/products/quantities.tpl | 5 ++++- .../themes/default/template/controllers/products/seo.tpl | 5 ++++- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/products/attachments.tpl b/admin-dev/themes/default/template/controllers/products/attachments.tpl index 50d8ae4bd..311c4b250 100644 --- a/admin-dev/themes/default/template/controllers/products/attachments.tpl +++ b/admin-dev/themes/default/template/controllers/products/attachments.tpl @@ -129,6 +129,7 @@ var iso = '{$iso_tiny_mce}'; var pathCSS = '{$smarty.const._THEME_CSS_DIR_}'; var ad = '{$ad}'; + hideOtherLanguage({$id_lang}); {/if} \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/products/features.tpl b/admin-dev/themes/default/template/controllers/products/features.tpl index f8fd21ad6..d95e41a63 100644 --- a/admin-dev/themes/default/template/controllers/products/features.tpl +++ b/admin-dev/themes/default/template/controllers/products/features.tpl @@ -109,4 +109,7 @@ {l s='Add a new feature'} -{/if} \ No newline at end of file +{/if} + \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/products/quantities.tpl b/admin-dev/themes/default/template/controllers/products/quantities.tpl index e7306af0a..5716321d3 100644 --- a/admin-dev/themes/default/template/controllers/products/quantities.tpl +++ b/admin-dev/themes/default/template/controllers/products/quantities.tpl @@ -238,4 +238,7 @@ {/if} -{*$default_language*} \ No newline at end of file +{*$default_language*} + \ No newline at end of file diff --git a/admin-dev/themes/default/template/controllers/products/seo.tpl b/admin-dev/themes/default/template/controllers/products/seo.tpl index 688ed4952..2cb91bd99 100644 --- a/admin-dev/themes/default/template/controllers/products/seo.tpl +++ b/admin-dev/themes/default/template/controllers/products/seo.tpl @@ -121,4 +121,7 @@ {/foreach} - \ No newline at end of file + + \ No newline at end of file