// language form fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11954 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-30 16:04:14 +00:00
parent 73c59ebe1c
commit 97443c2591
@@ -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}");
});
});