Fix JS error created by f713af

This commit is contained in:
Deon George 2011-04-26 10:15:41 +10:00
parent 2cf20fcf44
commit ed7f899361

View File

@ -2274,9 +2274,9 @@ function fillRec(id,value) {
function deleteAttribute(attrName,friendlyName,i)
{
if (confirm("'._('Really delete value from attribute').' \'" + friendlyName + "\'?")) {
document.getElementById(\'delete_attribute_form\'.attr.value = attrName;
document.getElementById(\'delete_attribute_form\'.index.value = i;
document.getElementById(\'delete_attribute_form\'.submit();
document.getElementById(\'delete_attribute_form\').attr.value = attrName;
document.getElementById(\'delete_attribute_form\').index.value = i;
document.getElementById(\'delete_attribute_form\').submit();
}
}
</script>';