// language form fix

This commit is contained in:
mMarinetti
2011-12-30 16:04:14 +00:00
parent 682a9f233e
commit 19afdd65fa
@@ -33,10 +33,16 @@
{/block}
{block name=script}
var langPackOk = "<img src=\"{$smarty.const._PS_IMG_}admin/information.png\" alt=\"\" /> {l s='A language pack is available for this ISO (name is'}";
var langPackVersion = "{l s='The compatible Prestashop version for this language and your system is: '}";
var langPackInfo = "{l s='After creating the language, you can import the content of the language pack, which you can download above under "Tools - Translations"'}";
var noLangPack = "<img src=\"{$smarty.const._PS_IMG_}admin/information.png\" alt=\"\" /> {l s='No language pack available on prestashop.com for this ISO code'}";
var download = "{l s='Download'}";
$(document).ready(function() {
$('#iso_code').keyup(function() {
checkLangPack();
$('#iso_code').keyup(function(e) {
e.preventDefault();
checkLangPack("{$token}");
});
});