From 4a50ca4e9fbafe2c062ac53e471eb5c7517f07b1 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Mon, 9 Jan 2012 14:01:45 +0000 Subject: [PATCH] // Product name input field is now disabled until the link_rewrite field is loaded. Removed obsolete css rule --- admin-dev/themes/default/template/products/informations.tpl | 2 +- admin-dev/themes/default/template/products/seo.tpl | 3 +++ css/admin.css | 3 --- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin-dev/themes/default/template/products/informations.tpl b/admin-dev/themes/default/template/products/informations.tpl index df7207a2b..bb2fe4475 100644 --- a/admin-dev/themes/default/template/products/informations.tpl +++ b/admin-dev/themes/default/template/products/informations.tpl @@ -89,7 +89,7 @@ {foreach from=$languages item=language}
- id}disabled="disabled"{/if} id="name_{$language.id_lang}" name="name_{$language.id_lang}" value="{$product->name[$language.id_lang]|htmlentitiesUTF8|default:''}"/> * {l s='Invalid characters:'} <>;=#{}  diff --git a/admin-dev/themes/default/template/products/seo.tpl b/admin-dev/themes/default/template/products/seo.tpl index 209c22c54..dfc49a245 100644 --- a/admin-dev/themes/default/template/products/seo.tpl +++ b/admin-dev/themes/default/template/products/seo.tpl @@ -32,6 +32,9 @@ code = (e.keyCode ? e.keyCode : e.which); return (code == 13) ? false : true; }); + + // Enable product name field when the url rewrite field is loaded + $('.copy2friendlyUrl').removeAttr('disabled'); }); diff --git a/css/admin.css b/css/admin.css index 2c89385a9..e190555d6 100644 --- a/css/admin.css +++ b/css/admin.css @@ -275,9 +275,6 @@ input[type="text"], input[type="password"], input[type="file"], textarea { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset; } -input[type="text"], input[type="password"], input[type="file"], textarea, select, option { - background-color:#FFF; -} input[type="radio"], input[type="checkbox"] { background-color:transparent; }